Re:LLVM based JavaScript JIT that beats V8 on Asm.js benchmarks
by hyperpape on Tuesday May 06, 2014 @09:49AM
(#7704391)
Not only that, a few months after asm.js was included in Firefox, Chrome had optimizations done that helped a great bit with asm.js (http://blog.chromium.org/2013/05/chrome-28-beta-more-immersi...). Possibly a coincidence, but they certainly seem to care about asm.js performance above and beyond generic JS performance, even if they're not going to support the pragma.
Re:LLVM based JavaScript JIT that beats V8 on Asm.js benchmarks
by magicalist on Tuesday May 06, 2014 @01:46PM
(#7705987)
> but they certainly seem to care about asm.js performance above and beyond generic JS performance
That doesn't follow. They certainly care about it; it's now in the Octane benchmark suite, which means they think it's representative of code that should be optimized for, but it's only part of the suite, which means it's just one more style of code that should be able to run efficiently in a modern JS engine.
Re:LLVM based JavaScript JIT that beats V8 on Asm.js benchmarks
by Alphasite_ on Tuesday May 06, 2014 @01:56PM
(#7706048)
You're oth saying the same thing for the most part, I dont think he's trying to imply that its their focus, just that its important enough to optimise specifically.
However, V8 doesn't have a separate mode. The "'use asm';" pragma is ignored.
The Octane benchmark suite does contain Emscripten and Mandreel benchmarks though. So, they are tracking it and they also try to make this kind of code run faster.