alexcrichton opened PR #11817 from alexcrichton:fix-serve-timeout-perf to bytecodealliance:main:
Refactor how the epoch thread is managed in
wasmtime serveby only spawning one thread for the entire serve rather than one-per-request. This is likely just an artifact of copying the implementation fromwasmtime runbut forwasmtime serveit needs to be different.This puts performance of
-Wtimeout=1-and-not back on the same playing field, as expected.Closes #11814
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested fitzgen for a review on PR #11817.
alexcrichton requested wasmtime-core-reviewers for a review on PR #11817.
pchickey submitted PR review.
alexcrichton has enabled auto merge for PR #11817.
alexcrichton merged PR #11817.
Last updated: Dec 06 2025 at 06:05 UTC