2 ms·
This doesn't really answer the question. In what way is it viable if it's currently a tiny fraction of the speed of what's easily attainable with a plugin, and
by noduerme 15y ago
This doesn't really answer the question. In what way is it viable if it's currently a tiny fraction of the speed of what's easily attainable with a plugin, and shows little chance of improvement over the next five years?
- zokier 15y agoCould you point some benchmark actually showing canvas performing at tiny fraction of Flash's speed? Considering that they both are ECMAScript-based and Firefox got even some code from Adobe for their JS engine, I'd imagine that the performance difference wouldn't be that great. I found one (micro)benchmark[1], and in my quick unscientific tests, canvas-version performed quite well compared to Flash (70 FPS for canvas, and 40 FPS for Flash, Firefox 7 on Windows 7). And I certainly believe that there is great chance of improvement, as the APIs an techniques are quite young yet. See Mozillas Azure project as an example: http://blog.mozilla.com/joe/2011/04/26/introducing-the-azure-project/ http://blog.mozilla.com/joe/2011/04/26/introducing-the-azure... [1] http://themaninblue.com/writing/perspective/2010/03/22/ http://themaninblue.com/writing/perspective/2010/03/22/