Engineering of the fastest WebAssembly interpreters
68 points - last Tuesday at 12:25 PM
SourceVery cool!
How does the performance of this wasm interpreter compare to native execution? Are we getting close?
And youโre comparing against wasmtime.pulley, which is their optimising interpreter. How does it stack up against wasmtimeโs cranelift compiler?
achierius
today at 1:49 AM
No, they're not getting close. Top performing Wasm runtimes (like those in V8 and JSC) are generally between 10% (for pure math workloads) and 2x (conservatively, for ef allocation heavy ones) the speed of equivalent native implementations. But that's including the JIT compilation tiers; the performance of interpreters alone lags by an order of magnitude.
paulddraper
today at 2:11 AM
Between 10% and 100% ? Am I understanding that right?
achierius
today at 4:49 AM
I put that poorly: read as 110% and 200%