Wasmi 2.0 author here. (thanks for the invite @hauleth)
I worked 9 months for Wasmi 2.0 and preparations and writing for this article took ~1.5 months.
My hope is that this write-up helps others writing fast interpreters to bring the ecosystem forward.
As you can see on AMD EPYC 7763, Wasmi performs worse in comparison.
All in all I am very happy with Wasmi's execution performance in comparison to JITs especially considering its outstanding startup performance even compared to baseline JITs such as Winch and Wasmer's Singlepass.
Note: Wasmer Singlepass fares very badly on any floating point benchmark, drastically reducing its overall performance.
robbepop | 21 days ago
Wasmi 2.0 author here. (thanks for the invite @hauleth)
I worked 9 months for Wasmi 2.0 and preparations and writing for this article took ~1.5 months. My hope is that this write-up helps others writing fast interpreters to bring the ecosystem forward.
Happy to answer all questions!
andyferris | 20 days ago
Looks nice!
How much faster again is (JIT or even AOT) compiled WASM compared to Wasmi 2.0? I'm just trying to place where I might use this in place of those.
robbepop | 20 days ago
It depends on several factors:
What do you mean with JIT?
For example, the geometric mean across all
wasmi-benchmarkstests:On my Apple M2 Pro, Wasmi is ..
Intel i7700:
AMD EPYC 7763:
As you can see on AMD EPYC 7763, Wasmi performs worse in comparison.
All in all I am very happy with Wasmi's execution performance in comparison to JITs especially considering its outstanding startup performance even compared to baseline JITs such as Winch and Wasmer's Singlepass.
Note: Wasmer Singlepass fares very badly on any floating point benchmark, drastically reducing its overall performance.