Stream: git-wasmtime

Topic: wasmtime / issue #6541 `__deregister_frame` is slow on macos


view this post on Zulip Wasmtime GitHub notifications bot (Jun 08 2023 at 14:30):

TimonPost opened issue #6541:

We have a precompiled wasm module of about 337,2MB that if dropped the UnwindRegistration::drop takes around ~22 secs (can quite vary) to finish. I did some benchmarking and we have 266664 unwind registers and the time per frame deregister is for me around 0.0843227 ms. Three runs:

Deregister 266664 frames in 22485 ms (84.3227 microsec/frame)
Deregister 266664 frames in 22448 ms (84.1817 microsec/frame)
Deregister 266664 frames in 22232 ms (83.3742 microsec/frame)

A fast deregister/register time is vital to us. Is there an easy solution here or a solution?


Last updated: Oct 23 2024 at 20:03 UTC