Stream: wasmtime

Topic: Ready for AWFY to "go live"?


view this post on Zulip fitzgen (he/him) (Nov 04 2026 at 22:34):

As some of you know, I've created an are-we-fast-yet site for continuous Wasmtime/Cranelift benchmarking: https://bytecodealliance.github.io/are-we-fast-yet/

It runs our Sightglass benchmarks as often as it can (roughly every 2-3 hours) under callgrind (for ~determinism across machines) and plots the results over time. It also checks for statistically significant regressions between the current run and the previous one, and if it finds any it files an issue with the regression range, which benchmarks regressed, and how to reproduce the benchmark results. Here is an example regression issue. The goal is not to revert any performance regression, without context or nuance; it is simply to be aware of any regressions and make the choice to accept a regression consciously. Often we can reduce or remove the regression without undoing the bug fix or new feature, but we just needed to know that there even was a regression to avoid in the first place.

See also https://github.com/bytecodealliance/wasmtime/issues/13576

Right now, it is filing these regression issues against its own repository, so that I could work the kinks out before it is in front of a larger audience. I think I have pretty much worked them out at this point; it's been running for about three weeks. The false positive rate is pretty low now (I think the biggest risk is us getting inundated with false positives and ignoring the regression issues) but it still happens occasionally due to the ~2004 era branch predictor that callgrind hard codes. To counteract that, we ignore regressions when the majority of the regression is due to branch misses and instructions retired didn't shift. This has been pretty effective at filtering out noise due to LLVM code layout whims. We also compile with a single codegen unit to avoid similar issues with LLVM's inlining whims.

Anyways, the goal is to have it file issues on the Wasmtime repository, not its own. I think we are at a place where the infrastructure is mature enough to do that now, but before I make that switch, I wanted to double check that folks are on board with it.

cc @Alex Crichton @Chris Fallin

view this post on Zulip Alex Crichton (Nov 04 2026 at 22:37):

Sounds reasonable to me! I think it's reasonable for us to tweak the heuristics for issue filing on the main repo over time, e.g. tweaking internal things or increasing thresholds or such. Ignoring/closing a few issues a week isn't the end of the world either

view this post on Zulip Chris Fallin (Nov 04 2026 at 22:40):

+1; the signals we've gotten in the past few weeks have been legitimate/useful (e.g. the regressions from egraph changes for controlling-types) -- seems reasonable to enable issue-filing now.

view this post on Zulip fitzgen (he/him) (Nov 04 2026 at 22:41):

sweet, I will go ahead and start flipping the switch!

view this post on Zulip fitzgen (he/him) (Nov 04 2026 at 22:53):

ah hm, I am not an org owner, which is required for one of the steps. will figure out who is


Last updated: Nov 19 2026 at 20:05 UTC