5 ms·
>ASM is only 2x slower than native Only in wilfully misleading benchmarks. Allow use of SIMD and multithreading and asm.js can be as much as 50 times slower:
by anon1385 13y ago
>ASM is only 2x slower than native
Only in wilfully misleading benchmarks. Allow use of SIMD and multithreading and asm.js can be as much as 50 times slower:
http://cdn.arstechnica.net/wp-content/uploads/2013/05/native-code-game-640x480.png http://cdn.arstechnica.net/wp-content/uploads/2013/05/native...
http://cdn.arstechnica.net/wp-content/uploads/2013/05/classic-native-v-optimized-v-asmjs-640x480.png http://cdn.arstechnica.net/wp-content/uploads/2013/05/classi...
- nailer 13y agoGood point: re multithreading. I wonder if web workers could be used to resolve that?