Stream: git-wasmtime

Topic: wasmtime / PR #11817 Don't spawn thread-per-request in `w...


view this post on Zulip Wasmtime GitHub notifications bot (Oct 08 2025 at 16:56):

alexcrichton opened PR #11817 from alexcrichton:fix-serve-timeout-perf to bytecodealliance:main:

Refactor how the epoch thread is managed in wasmtime serve by only spawning one thread for the entire serve rather than one-per-request. This is likely just an artifact of copying the implementation from wasmtime run but for wasmtime serve it 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:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Oct 08 2025 at 16:56):

alexcrichton requested fitzgen for a review on PR #11817.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 08 2025 at 16:56):

alexcrichton requested wasmtime-core-reviewers for a review on PR #11817.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 08 2025 at 17:00):

pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 08 2025 at 17:01):

alexcrichton has enabled auto merge for PR #11817.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 08 2025 at 17:32):

alexcrichton merged PR #11817.


Last updated: Dec 06 2025 at 06:05 UTC