4 ms·
Which JS VM are you using to test this? That matters a lot for this sort of thing. I ran it past the one in my browser (current Firefox, Linux) and didn't see
by amalcon 12y ago
Which JS VM are you using to test this? That matters a lot for this sort of thing.
I ran it past the one in my browser (current Firefox, Linux) and didn't see a significant difference.
- gorhill 12y agoArgh sorry, forgot to mention the browser. It's Chromium 34/Linux 64-bit.
- acdha 12y agoTry Chrome 34 – the difference is massive. What's interesting is that the best result in Chrome is 45% slower than the worst result in Firefox 29 so it's probably a question of why v8 is failing to JIT the first 3 versions.