2 ms·
But asm.js (and WebAssembly) runs faster than Flash. See a couple of different benchmarks from 2013 (http://www.j15r.com/blog/2013/04/25/Box2d_Revisited http://
by clouddrover 11y ago
But asm.js (and WebAssembly) runs faster than Flash. See a couple of different benchmarks from 2013 (http://www.j15r.com/blog/2013/04/25/Box2d_Revisited http://www.j15r.com/blog/2013/04/25/Box2d_Revisited) and from 2014 (http://www.infognition.com/blog/2014/comparing_flash_haxe_dart_asmjs_and_cpp.html http://www.infognition.com/blog/2014/comparing_flash_haxe_da...). asm.js also outperformed Dalvik in 2013: https://blog.mozilla.org/javascript/2013/08/01/staring-at-the-sun-dalvik-vs-spidermonkey/ https://blog.mozilla.org/javascript/2013/08/01/staring-at-th...
Here's Unity's recent benchmark of WebGL and asm.js to see how performance has improved and will improve further in future: http://blogs.unity3d.com/2015/12/15/updated-webgl-benchmark-results/ http://blogs.unity3d.com/2015/12/15/updated-webgl-benchmark-...
I'd be interested to see some more recent Flash versus asm.js benchmarks if anyone knows of any.
- Animats 11y agoFrom the benchmark description: "This version has been stripped of all of the artwork and eye candy we had in the previous version." "This is running content from a local disk, so the time to download files from the network is ignored." So they ignore all the things the user waits for, and focus on the frame rate that can be achieved once it's loaded. Bearing in mind that the most likely use of this feature is in ads, not twitch games, that's the wrong metric.
- clouddrover 11y agoDo you have any such download comparisons between Flash, asm.js, and WebAssembly? WebAssembly reduces the download size and speeds up the load time versus asm.js. See Unity's testing: http://blogs.unity3d.com/2015/06/18/webgl-webassembly-and-feature-roadmap/ http://blogs.unity3d.com/2015/06/18/webgl-webassembly-and-fe...