Stream: git-wasmtime

Topic: wasmtime / issue #15248 Performance regression in 9ba84c8...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 12 2026 at 19:26):

ba-are-we-fast-yet[bot] opened issue #15248:

are-we-fast-yet found 3 regressions in virtual cycles (callgrind) between Wasmtime 9ba84c8891d7 and 5dd206c06bc0.

The bisect could not attribute this regression (no candidate was measured), so it names the whole range. See the bisect.

A change counts when a Mann-Whitney U test finds it significant at the 0.01 level and it clears its phase's minimum relative change:

phase geomean individual
compilation 0.3% 1%
instantiation 2.5% 20%
execution 0.5% 2%

Regressions (3)

benchmark phase Δ virtual cycles virtual cycles noise Δ instructions retired instructions retired noise
Geomean execution +3.74% (+3.67% to +3.82%) n/a n/a n/a
hoot-earley-boyer/hoot-earley-boyer.wasm execution +82.81% (+82.77% to +82.83%) 0.031% -> 0.006% +98.40% 0.000% -> 0.005%
dart-deltablue/dart-deltablue.wasm execution +58.02% (+58.01% to +58.03%) 0.007% -> 0.009% +61.30% 0.000% -> 0.001%

A positive delta is a slowdown, a negative delta is a speedup.

instructions retired counts work done rather than how well it was predicted. A regression whose instructions didn't move is often Valgrind's branch predictors aliasing on a code layout change; see docs/regressions.md.

Each noise column is how far that event's own counts spread.

<details>
<summary>Other callgrind counters that changed for these benchmarks</summary>

benchmark phase counter Δ noise
Geomean execution data-writes +5.48% (+5.43% to +5.52%) n/a
Geomean execution conditional-branch-misses -4.73% (-5.34% to -4.12%) n/a
Geomean execution instructions-retired +4.10% (+4.08% to +4.12%) n/a
Geomean execution conditional-branches +2.66% (+2.51% to +2.80%) n/a
Geomean execution data-reads +2.54% (+2.51% to +2.56%) n/a
Geomean execution ll-icache-misses -2.07% (-3.14% to -0.98%) n/a
Geomean execution indirect-branch-misses +1.87% (+0.29% to +3.48%) n/a
hoot-earley-boyer/hoot-earley-boyer.wasm execution conditional-branch-misses -62.47% (-62.47% to -62.47%) 0.003% -> 0.013%
hoot-earley-boyer/hoot-earley-boyer.wasm execution data-writes +138.05% (+138.05% to +138.05%) 0.000% -> 0.000%
hoot-earley-boyer/hoot-earley-boyer.wasm execution instructions-retired +98.40% (+98.40% to +98.41%) 0.000% -> 0.005%
dart-deltablue/dart-deltablue.wasm execution data-writes +95.88% (+95.88% to +95.88%) 0.000% -> 0.001%
dart-deltablue/dart-deltablue.wasm execution instructions-retired +61.30% (+61.30% to +61.30%) 0.000% -> 0.001%
hoot-earley-boyer/hoot-earley-boyer.wasm execution conditional-branches +61.01% (+61.01% to +61.02%) 0.001% -> 0.008%
hoot-earley-boyer/hoot-earley-boyer.wasm execution data-reads +55.46% (+55.46% to +55.46%) 0.000% -> 0.002%
dart-deltablue/dart-deltablue.wasm execution data-reads +32.75% (+32.75% to +32.76%) 0.000% -> 0.001%
dart-deltablue/dart-deltablue.wasm execution conditional-branches +31.89% (+31.89% to +31.89%) 0.000% -> 0.002%
dart-deltablue/dart-deltablue.wasm execution l1-icache-misses +18.30% (+15.39% to +19.88%) 1.973% -> 2.804%
dart-deltablue/dart-deltablue.wasm execution conditional-branch-misses -3.77% (-3.79% to -3.77%) 0.002% -> 0.017%

</details>

Commits

https://github.com/bytecodealliance/wasmtime/compare/9ba84c8891d797bfcf818b1a8ae601b797ae23be...5dd206c06bc07504a92385dca1c766cc3f9c90bc

Reproduce locally

On x86-64 Linux with Valgrind installed:

git clone https://github.com/bytecodealliance/sightglass
cd sightglass
git checkout 2d453335318d05cf42b6f3263aa68f0021985f10
rustc engines/wasmtime/build.rs -o build-engine
mkdir old new
REVISION=9ba84c8891d797bfcf818b1a8ae601b797ae23be ./build-engine old
REVISION=5dd206c06bc07504a92385dca1c766cc3f9c90bc ./build-engine new
cargo run --release -- benchmark --measure callgrind \
  --engine old/libengine.so --engine new/libengine.so \
  --engine-flags-common="-Cparallel-compilation=n --target x86_64-unknown-linux-gnu -Ccranelift-has-sse3 -Ccranelift-has-ssse3 -Ccranelift-has-sse41 -Ccranelift-has-sse42 -Ccranelift-has-popcnt -Ccranelift-has-avx -Ccranelift-has-avx2 -Ccranelift-has-fma -Ccranelift-has-bmi1 -Ccranelift-has-bmi2 -Ccranelift-has-lzcnt -Ccranelift-has-cmpxchg16b" \
  -- benchmarks/dart-deltablue/dart-deltablue.wasm benchmarks/hoot-earley-boyer/hoot-earley-boyer.wasm

view this post on Zulip Wasmtime GitHub notifications bot (Nov 12 2026 at 19:26):

ba-are-we-fast-yet[bot] added the performance label to Issue #15248.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 12 2026 at 19:26):

ba-are-we-fast-yet[bot] added the awfy label to Issue #15248.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 12 2026 at 20:56):

fitzgen closed issue #15248:

are-we-fast-yet found 3 regressions in virtual cycles (callgrind) between Wasmtime 9ba84c8891d7 and 5dd206c06bc0.

The bisect could not attribute this regression (no candidate was measured), so it names the whole range. See the bisect.

A change counts when a Mann-Whitney U test finds it significant at the 0.01 level and it clears its phase's minimum relative change:

phase geomean individual
compilation 0.3% 1%
instantiation 2.5% 20%
execution 0.5% 2%

Regressions (3)

benchmark phase Δ virtual cycles virtual cycles noise Δ instructions retired instructions retired noise
Geomean execution +3.74% (+3.67% to +3.82%) n/a n/a n/a
hoot-earley-boyer/hoot-earley-boyer.wasm execution +82.81% (+82.77% to +82.83%) 0.031% -> 0.006% +98.40% 0.000% -> 0.005%
dart-deltablue/dart-deltablue.wasm execution +58.02% (+58.01% to +58.03%) 0.007% -> 0.009% +61.30% 0.000% -> 0.001%

A positive delta is a slowdown, a negative delta is a speedup.

instructions retired counts work done rather than how well it was predicted. A regression whose instructions didn't move is often Valgrind's branch predictors aliasing on a code layout change; see docs/regressions.md.

Each noise column is how far that event's own counts spread.

<details>
<summary>Other callgrind counters that changed for these benchmarks</summary>

benchmark phase counter Δ noise
Geomean execution data-writes +5.48% (+5.43% to +5.52%) n/a
Geomean execution conditional-branch-misses -4.73% (-5.34% to -4.12%) n/a
Geomean execution instructions-retired +4.10% (+4.08% to +4.12%) n/a
Geomean execution conditional-branches +2.66% (+2.51% to +2.80%) n/a
Geomean execution data-reads +2.54% (+2.51% to +2.56%) n/a
Geomean execution ll-icache-misses -2.07% (-3.14% to -0.98%) n/a
Geomean execution indirect-branch-misses +1.87% (+0.29% to +3.48%) n/a
hoot-earley-boyer/hoot-earley-boyer.wasm execution conditional-branch-misses -62.47% (-62.47% to -62.47%) 0.003% -> 0.013%
hoot-earley-boyer/hoot-earley-boyer.wasm execution data-writes +138.05% (+138.05% to +138.05%) 0.000% -> 0.000%
hoot-earley-boyer/hoot-earley-boyer.wasm execution instructions-retired +98.40% (+98.40% to +98.41%) 0.000% -> 0.005%
dart-deltablue/dart-deltablue.wasm execution data-writes +95.88% (+95.88% to +95.88%) 0.000% -> 0.001%
dart-deltablue/dart-deltablue.wasm execution instructions-retired +61.30% (+61.30% to +61.30%) 0.000% -> 0.001%
hoot-earley-boyer/hoot-earley-boyer.wasm execution conditional-branches +61.01% (+61.01% to +61.02%) 0.001% -> 0.008%
hoot-earley-boyer/hoot-earley-boyer.wasm execution data-reads +55.46% (+55.46% to +55.46%) 0.000% -> 0.002%
dart-deltablue/dart-deltablue.wasm execution data-reads +32.75% (+32.75% to +32.76%) 0.000% -> 0.001%
dart-deltablue/dart-deltablue.wasm execution conditional-branches +31.89% (+31.89% to +31.89%) 0.000% -> 0.002%
dart-deltablue/dart-deltablue.wasm execution l1-icache-misses +18.30% (+15.39% to +19.88%) 1.973% -> 2.804%
dart-deltablue/dart-deltablue.wasm execution conditional-branch-misses -3.77% (-3.79% to -3.77%) 0.002% -> 0.017%

</details>

Commits

https://github.com/bytecodealliance/wasmtime/compare/9ba84c8891d797bfcf818b1a8ae601b797ae23be...5dd206c06bc07504a92385dca1c766cc3f9c90bc

Reproduce locally

On x86-64 Linux with Valgrind installed:

git clone https://github.com/bytecodealliance/sightglass
cd sightglass
git checkout 2d453335318d05cf42b6f3263aa68f0021985f10
rustc engines/wasmtime/build.rs -o build-engine
mkdir old new
REVISION=9ba84c8891d797bfcf818b1a8ae601b797ae23be ./build-engine old
REVISION=5dd206c06bc07504a92385dca1c766cc3f9c90bc ./build-engine new
cargo run --release -- benchmark --measure callgrind \
  --engine old/libengine.so --engine new/libengine.so \
  --engine-flags-common="-Cparallel-compilation=n --target x86_64-unknown-linux-gnu -Ccranelift-has-sse3 -Ccranelift-has-ssse3 -Ccranelift-has-sse41 -Ccranelift-has-sse42 -Ccranelift-has-popcnt -Ccranelift-has-avx -Ccranelift-has-avx2 -Ccranelift-has-fma -Ccranelift-has-bmi1 -Ccranelift-has-bmi2 -Ccranelift-has-lzcnt -Ccranelift-has-cmpxchg16b" \
  -- benchmarks/dart-deltablue/dart-deltablue.wasm benchmarks/hoot-earley-boyer/hoot-earley-boyer.wasm

Last updated: Nov 19 2026 at 20:05 UTC