4 ms·
Slower than native perhaps. But usually faster than JavaScript on V8. So if you want fast browser perf, Wasm is a great choice. There's also Wasm on the edge
by hu3 3y ago
Slower than native perhaps. But usually faster than JavaScript on V8.
So if you want fast browser perf, Wasm is a great choice.
There's also Wasm on the edge with the likes of Cloudflare Workers and Vercel https://vercel.com/docs/concepts/functions/edge-functions/wasm https://vercel.com/docs/concepts/functions/edge-functions/wa...
It also has some interesting isolation properties.
- syrusakbary 3y agoShameless plug for WebAssembly on the Edge: Wasmer recently launched Wasmer Edge, which is Wasm-focused instead of JS-focused compared to Cloudflare Workers and Vercel https://wasmer.io/products/edge https://wasmer.io/products/edge
- hu3 3y agoI respect the hustle. Sorry for not mentioning https://wasmer.io https://wasmer.io. Keep it up! Competition is great.
- kentonv 3y agoWhen this site says Wasmer's "cold start time" is 50ns, what is it measuring? You can't even do a syscall in 50ns. Cloudflare's 5ms includes time to read the application code from disk. (I'm the one who originally did this measurement.)
- syrusakbary 3y agoHi Kenton! 50ns is the median time to initialize the Wasm module. I think it would make sense to do another round of measuring with more factors that test things end to end, and see how each of the platform performs. BTW, I'm a big admirer of Cloudflare Workers... great work!