3 ms·
I’m gonna rephrase some of a previous comment[1] I made when someone else posted benchmarks like that: That is comparing WASM+JavaScript vs pure JavaScript. Un
by cornstalks 4y ago
I’m gonna rephrase some of a previous comment[1] I made when someone else posted benchmarks like that:
That is comparing WASM+JavaScript vs pure JavaScript. Unsurprisingly there’s some interop overhead. Those benchmarks are not relevant if you’re not using JavaScript (e.g. WASI stuff) or you’re doing the bulk of your calculations in WASM and not rapidly jumping back and forth between WASM and JavaScript.
[1]: https://news.ycombinator.com/item?id=30157954 https://news.ycombinator.com/item?id=30157954