3 ms·
10 years ago was around the time asm.js was just getting started, and that's what drove a lot of these optimizations. I think V8 is a lot more clever now. And t
by modeless 4y ago
10 years ago was around the time asm.js was just getting started, and that's what drove a lot of these optimizations. I think V8 is a lot more clever now. And the other browsers have largely caught up as well (or even surpassed V8 in some cases). And you can now safely ignore IE :)
- josephg 4y agoI hear what you're saying, but my intuition disagrees with you. Asmjs was optimized in browsers when I did that test. I think people tend to overestimate how much subsequent versions of V8 improve performance in niche areas like TypedArrays. Especially now that V8 is very mature. I suspects if I re-ran that test, performance would have improved across the board but I'd get the same relative performance result with TypedArray code. It would be fascinating to try though. I wish I kept the code.
- modeless 4y agoI think typed arrays are not a niche area anymore. They were 10 years ago, but today they are very widely used.