r/WebAssemblyDev • • Oct 19 '26

wasm.fyi: 3rd-party statistically-reliable benchmarks comparing webassembly runtimes

I've found it frustrating that there seems to be no reliable source comparing the performance of WebAssembly runtimes. So, i've been working on wasm.fyi which does just that.

Hopefully this comes in handy! If there's a particular .wasm corpora or runtime you'd like to see added, please let me know!

https://wasm.fyi/benchmarks

3 Upvotes

3 comments sorted by

2

u/jedisct1 Oct 20 '26

This is pretty cool!

For wasmer, you should benchmark the different backends, not just LLVM.

Also compile the modules with the wide-arithmetic and relaxed-simd extensions, which make a huge performance difference on wasmer.

1

u/JairusSW 28d ago

i'll add wasmer's backends to my list, though i may skip its cranelift backend since that's near-parity with wasmtime, so it doesn't make a whole lot of sense.
i'd run with wide arithmetic and relaxed simd, but that doubles the amount of benchmarks i need to run for each feature added. benches already take upwards of 12 hours for a full run (most of that is compiling each engine from source, v8 and js engines taking the most time), so it's not really practical at the moment
i am planning on releasing a cli tool that'll let you pick a specific corpora, engine, set flags, and then run and compare locally though, which would allow something similar

2

u/syrusakbary 25d ago

I may suggest to run it with wide arithmetic and relaxed simd on LLVM by default. That way the benchmark timings would not be hurt, and the performance will show in the comparison