2 ms·
Hi guys, I did that demo mentioned above. It's true that Flash is significantly faster. While ActionScript and JavaScript are almost on par in recent browser v
by spielzeugz 16y ago
Hi guys, I did that demo mentioned above.
It's true that Flash is significantly faster. While ActionScript and JavaScript are almost on par in recent browser versions the main difference is the rendering performance. Here's a very good explanation (see the last paragraphs)
http://www.craftymind.com/guimark2 http://www.craftymind.com/guimark2
It's about retained vs. immediate mode rendering: Flash is frame-based, on each frame code is executed first, display changes are collected, then rendered. With JavaScript each change is rendered immediately which is less efficient, especially with multi-core CPUs.
As for the iPad, this demo here runs slowly cause the iPad is slow. ;-) Native apps run smoothly cause they're hardware-accelerated, but in the browser you notice the difference.
Fyi, did some comparisons a while ago,
http://spielzeugz.de/html5/compare http://spielzeugz.de/html5/compare
Cheers, Dan