Stream: git-wasmtime

Topic: wasmtime / issue #15363 Performance regression in 3ce2209...


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

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

are-we-fast-yet found 7 regressions and 3 speedups in virtual cycles (callgrind) between Wasmtime fba25741617c and 3ce2209872cc.

The range is the single commit 3ce2209872cc Update regalloc2 to v0.15.3 (#15331), so it is blamed without bisecting. 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 (7)

benchmark phase Δ virtual cycles virtual cycles noise Δ instructions retired instructions retired noise
Geomean compilation +0.53% (+0.52% to +0.55%) n/a n/a n/a
hoot-earley-boyer/hoot-earley-boyer.wasm compilation +7.35% (+7.19% to +7.47%) 0.098% -> 0.223% +1.96% 0.028% -> 0.022%
ocaml-raytrace/ocaml-raytrace.wasm compilation +2.36% (+1.91% to +2.72%) 0.685% -> 0.534% +0.64% 0.187% -> 0.175%
dart-deltablue/dart-deltablue.wasm compilation +1.96% (+1.94% to +2.01%) 0.037% -> 0.054% +1.37% 0.032% -> 0.056%
intgemm-simd/benchmark.wasm compilation +1.52% (+1.37% to +1.57%) 0.205% -> 0.011% +1.59% 0.018% -> 0.010%
gcc-loops/benchmark.wasm compilation +1.40% (+1.31% to +1.49%) 0.063% -> 0.115% +1.58% 0.010% -> 0.026%
kotlin-richards/kotlin-richards.wasm compilation +1.36% (+1.16% to +1.52%) 0.244% -> 0.221% +1.02% 0.070% -> 0.089%

Speedups (3)

benchmark phase Δ virtual cycles virtual cycles noise Δ instructions retired instructions retired noise
kotlin-richards/kotlin-richards.wasm execution -3.08% (-3.09% to -3.06%) 0.027% -> 0.012% -0.01% 0.004% -> 0.001%
cm-online-stats/cm-online-stats.wasm execution -2.34% (-2.36% to -2.33%) 0.016% -> 0.016% -2.35% 0.003% -> 0.002%
shootout/shootout-switch.wasm compilation -1.08% (-1.15% to -0.88%) 0.240% -> 0.028% -0.95% 0.065% -> 0.049%

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 compilation ll-dcache-write-misses +4.03% (+3.76% to +4.29%) n/a
Geomean compilation l1-icache-misses -2.82% (-2.82% to -2.81%) n/a
Geomean compilation ll-dcache-read-misses +1.23% (+0.87% to +1.60%) n/a
Geomean compilation conditional-branch-misses +0.78% (+0.77% to +0.79%) n/a
Geomean compilation indirect-branch-misses -0.72% (-0.72% to -0.72%) n/a
Geomean compilation l1-dcache-read-misses +0.72% (+0.64% to +0.80%) n/a
Geomean compilation l1-dcache-write-misses +0.63% (+0.54% to +0.73%) n/a
Geomean compilation ll-icache-misses +0.63% (+0.54% to +0.72%) n/a
Geomean compilation data-reads +0.47% (+0.45% to +0.49%) n/a
Geomean compilation data-writes +0.36% (+0.32% to +0.39%) n/a
Geomean compilation instructions-retired +0.35% (+0.34% to +0.36%) n/a
hoot-earley-boyer/hoot-earley-boyer.wasm compilation ll-dcache-write-misses +123.36% (+120.94% to +127.05%) 1.696% -> 2.179%
kotlin-richards/kotlin-richards.wasm compilation ll-dcache-read-misses +19.33% (+11.63% to +25.62%) 6.091% -> 8.758%
ocaml-raytrace/ocaml-raytrace.wasm compilation ll-dcache-read-misses +17.98% (+10.75% to +26.99%) 8.616% -> 10.300%
ocaml-raytrace/ocaml-raytrace.wasm compilation indirect-branch-misses +16.22% (+16.22% to +16.22%) 0.002% -> 0.001%
hoot-earley-boyer/hoot-earley-boyer.wasm compilation l1-dcache-write-misses +14.38% (+14.13% to +14.82%) 0.319% -> 0.502%
hoot-earley-boyer/hoot-earley-boyer.wasm compilation ll-icache-misses +13.85% (+12.23% to +14.59%) 1.841% -> 1.625%
dart-deltablue/dart-deltablue.wasm compilation ll-dcache-write-misses +13.79% (+13.45% to +14.08%) 0.396% -> 0.324%
hoot-earley-boyer/hoot-earley-boyer.wasm compilation l1-dcache-read-misses +10.91% (+10.56% to +11.07%) 0.355% -> 0.231%
ocaml-raytrace/ocaml-raytrace.wasm compilation ll-dcache-write-misses +9.78% (+5.46% to +14.66%) 6.552% -> 6.017%
hoot-earley-boyer/hoot-earley-boyer.wasm compilation ll-dcache-read-misses +9.72% (+8.59% to +11.11%) 1.907% -> 1.311%
dart-deltablue/dart-deltablue.wasm compilation indirect-branch-misses +8.02% (+8.02% to +8.02%) 0.002% -> 0.002%
dart-deltablue/dart-deltablue.wasm compilation ll-dcache-read-misses +7.35% (+6.71% to +7.72%) 0.733% -> 0.785%
hoot-earley-boyer/hoot-earley-boyer.wasm compilation indirect-branch-misses +7.29% (+7.29% to +7.29%) 0.001% -> 0.000%
intgemm-simd/benchmark.wasm compilation ll-dcache-write-misses +6.59% (+1.83% to +8.24%) 6.080% -> 0.466%
kotlin-richards/kotlin-richards.wasm compilation indirect-branch-misses +6.17% (+6.17% to +6.17%) 0.002% -> 0.001%
kotlin-richards/kotlin-richards.wasm compilation ll-dcache-write-misses +4.49% (+0.76% to +8.36%) 5.048% -> 3.585%
ocaml-raytrace/ocaml-raytrace.wasm compilation l1-dcache-write-misses +2.73% (+0.81% to +4.54%) 2.964% -> 2.761%
gcc-loops/benchmark.wasm compilation l1-icache-misses -2.62% (-2.63% to -2.61%) 0.016% -> 0.005%
intgemm-simd/benchmark.wasm compilation l1-icache-misses -2.59% (-2.61% to -2.57%) 0.026% -> 0.017%
kotlin-richards/kotlin-richards.wasm compilation l1-dcache-write-misses +2.44% (+1.72% to +3.45%) 0.925% -> 1.292%
gcc-loops/benchmark.wasm compilation indirect-branch-misses -2.28% (-2.28% to -2.28%) 0.001% -> 0.000%
dart-deltablue/dart-deltablue.wasm compilation l1-dcache-write-misses +2.30% (+1.85% to +2.79%) 0.735% -> 0.668%
hoot-earley-boyer/hoot-earley-boyer.wasm compilation conditional-branches +2.29% (+2.20% to +2.40%) 0.144% -> 0.110%
intgemm-simd/benchmark.wasm compilation indirect-branch-misses -2.22% (-2.22% to -2.22%) 0.001% -> 0.000%
intgemm-simd/benchmark.wasm compilation conditional-branch-misses +2.18% (+2.16% to +2.20%) 0.034% -> 0.008%
gcc-loops/benchmark.wasm compilation conditional-branch-misses +2.17% (+2.16% to +2.18%) 0.017% -> 0.010%
hoot-earley-boyer/hoot-earley-boyer.wasm compilation instructions-retired +1.96% (+1.94% to +1.97%) 0.028% -> 0.022%
ocaml-raytrace/ocaml-raytrace.wasm compilation conditional-branch-misses +1.87% (+1.65% to +2.08%) 0.225% -> 0.294%
hoot-earley-boyer/hoot-earley-boyer.wasm compilation data-reads +1.81% (+1.77% to +1.86%) 0.065% -> 0.049%
hoot-earley-boyer/hoot-earley-boyer.wasm compilation data-writes +1.80% (+1.74% to +1.89%) 0.108% -> 0.083%
dart-deltablue/dart-deltablue.wasm compilation conditional-branch-misses +1.80% (+1.73% to +1.87%) 0.130% -> 0.060%
intgemm-simd/benchmark.wasm compilation `data-read
[message truncated]

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

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

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

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

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

alexcrichton commented on issue #15363:

cc @fitzgen, notably the 7% increase in compile time on one benchmark may be unexpected

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

fitzgen assigned fitzgen to issue #15363.


Last updated: Nov 19 2026 at 20:05 UTC