lann opened issue #11814:
In doing some comparative performance testing we discovered that enabling timeouts via e.g.
-Wtimeout=1scuts throughput by 2-3 orders of magnitude. The likely cause is the management of theEpochThread, which appears to be spawned once per request:https://github.com/bytecodealliance/wasmtime/blob/a70809d0caa4959b5d991c2770de821ab3c63930/src/commands/serve.rs#L796
https://github.com/bytecodealliance/wasmtime/blob/a70809d0caa4959b5d991c2770de821ab3c63930/src/commands/serve.rs#L641
Last updated: Dec 06 2025 at 07:03 UTC