tschneidereit opened PR #13839 from tschneidereit:epoch-perf to bytecodealliance:main:
Setting the initial epoch deadline to
1instead of the default0means that the deadline check doesn't immediately trigger. In local testing, this essentially eliminates the performance difference betweenwasmtime serveandwasmtime serve -W timeout=1for a Rust Hello World WASIp2 component. In absolute terms, that means it goes from about 120k RPS to 155k RPS.
tschneidereit added the label wasmtime:serve on PR #13839.
tschneidereit requested fitzgen for a review on PR #13839.
tschneidereit requested wasmtime-core-reviewers for a review on PR #13839.
:thumbs_up: fitzgen submitted PR review:
Thanks!
fitzgen added PR #13839 Set initial epoch deadline to 1 in HostHandlerState::instantiate to the merge queue
:check: fitzgen merged PR #13839.
fitzgen removed PR #13839 Set initial epoch deadline to 1 in HostHandlerState::instantiate from the merge queue
Last updated: Jul 29 2026 at 05:03 UTC