https://github.com/moe-charm/nyash
I'm developing Nyash.
Claude Code-kun said, "Wooow! WASM makes it 280 times faster! Amazing!"
But it turns out that was the build time.
What does that even mean?
β Actual measurement. Still 13.5 times faster. The slow VM is a future challenge!
β π True WASM Execution Performance Revealed!
Backend Execution Time Speed Ratio Reality
π WASM (wasmtime) 8.12ms 13.5x faster True Execution Performance
π Interpreter 110.10ms 1x (baseline) AST execution
ποΈ VM 119.80ms 0.9x slower MIRβVM execution
π¨ Important Findings
280x β 13.5x: The true execution performance is 13.5 times faster.
WASM is definitely fast: 13.5 times faster than the interpreter.
The VM is slow: Slightly slower than the interpreter (lack of optimization?).
And here's ChatGPT5-kun's reaction after hearing that:
β Lol... "280 times" was the build time after all π But it's a huge takeaway!
Top comments (0)