3 ms·
The benchmark[1] includes scimark, which measures FLOPS. I get 0.62 MFLOPS. In scimark running in the JVM[2], I get 353.4 MFLOPS (units explained here[3]). So i
by iso8859-1 13y ago
The benchmark[1] includes scimark, which measures FLOPS. I get 0.62 MFLOPS. In scimark running in the JVM[2], I get 353.4 MFLOPS (units explained here[3]). So in conclusion, the Oracle JVM on x86-32 is 570 x faster than lua.vm.js on V8 on same platform.
[1]: http://kripken.github.io/lua.vm.js/lua.vm.js.html http://kripken.github.io/lua.vm.js/lua.vm.js.html
[2]: http://math.nist.gov/scimark2/run.html http://math.nist.gov/scimark2/run.html
[3]: http://math.nist.gov/scimark2/faq.html http://math.nist.gov/scimark2/faq.html
- adlpz 13y agoI assume the JS code generated here is using heavily the asm.js subset, so it can be run faster on asm.js-capable browsers. Therefore V8 is not the ideal platform for benchmarking this implementation. You could try with a nightly Firefox. EDIT: Indeed, 8 MFLOPS on FF Aurora, 1.2 MFLOPS in Chrome Canary.
- iso8859-1 13y agoWhat do you get in the JVM?