6 ms·
The polyfill generates essentially the same asm.js code, so it runs at a similar speed. The slowdown is a translation delay at startup. On the other hand, WebA
by sunfish 11y ago
The polyfill generates essentially the same asm.js code, so it runs at a similar speed. The slowdown is a translation delay at startup.
On the other hand, WebAssembly code is smaller than asm.js code, so it downloads faster, so in some situations the polyfill is actually faster.