MythicByte opened PR #15255 from MythicByte:issue-15133 to bytecodealliance:main:
The introduction of using the default hasmap created allowed of performance degradation. The new tuple also looks to generate more code.
Fixed
The hasher was changed to foldhash Fixedstate and the tuple performance good with it
MythicByte requested pchickey for a review on PR #15255.
MythicByte removed the review request for wasmtime-core-reviewers from PR #15255.
MythicByte requested wasmtime-core-reviewers for a review on PR #15255.
MythicByte removed the review request for wasmtime-default-reviewers from PR #15255.
MythicByte requested alexcrichton for a review on PR #15255.
MythicByte requested wasmtime-default-reviewers for a review on PR #15255.
alexcrichton commented on PR #15255:
Could you confirm through sightglass that the performance regressions are no longer there?
MythicByte commented on PR #15255:
Variant issue-15533TraceInfos::mapdart-deltablue base hoot-earley-boyer base base ( 9ba84c8)NopHasher,u64keyNopHasher530,476,152 — 975,936,367 — merged #15202 ( 5dd206c)RandomState, tuple keyRandomState850,993,094 +60.42% 1,911,476,247 +95.86% only subtype cache changed RandomState, tuple keyNopHasher850,860,582 +60.40% 1,911,324,201 +95.85% only TraceInfos changed NopHasher,u64keyRandomState530,484,029 +0.00% 975,936,631 +0.00% SipHash with u64keyRandomState,u64keyRandomState766,986,664 +44.58% 1,645,306,347 +68.59% foldhash with tuple key FixedState, tuple keyRandomState537,926,411 +1.40% 918,872,261 −5.85% the last is the thing i commited.
:thumbs_up: alexcrichton submitted PR review:
Thanks!
alexcrichton added PR #15255 Fix: pull request #15202 to the merge queue.
:check: alexcrichton merged PR #15255.
alexcrichton removed PR #15255 Fix: pull request #15202 from the merge queue.
Last updated: Nov 19 2026 at 20:05 UTC