3 ms·
For my money, they oughta make Canvas click-to-play as well, since the rendering speed in Firefox is unbelievably slow and the javascript behind it is so freque
by noduerme 15y ago
For my money, they oughta make Canvas click-to-play as well, since the rendering speed in Firefox is unbelievably slow and the javascript behind it is so frequently written to hog up 100% of the CPU it's hard to even know what you're looking at if you accidentally stumble across an HTML5 page in Firefox, before your system grinds to a complete halt.
It's funny how people blame Flash for slow websites when what they should really blame is bad coding practice, which can just as easily show up in JS (and does). To take it further, it's pretty rare for Flash code to bootstrap a huge set of libraries to do some petty effect - and if it does, the plugin doesn't freeze the browser preload while waiting on them. Whereas a 150k JS file that includes jquery and a bunch of other junk which probably isn't necessary (but makes coding some effect that much easier for bad programmers) can bring a website to its knees before the first line of text is delivered in the browser.
Again, don't blame the tools; blame the tools who use them.
- qxcv 15y agoFirefox canvas really isn't that slow anymore. Every time they increment the major version number, I play a couple of HTML5 games and check out the difference in responsiveness. A highly subjective test, sure, but an effective one. If you take a user-centric view then it's arguably the only test that really counts. You wouldn't believe the difference between FF5 and FF12 playing a game like Canvas Rider[1]. [1]: http://canvasrider.com http://canvasrider.com
- est 15y agoyeah but consider in the future everyone ditch Flash ads for canvas animation ads, your page will basically have like 1000 embedded blinking and scrolling ads made in canvas.
- robin_reala 15y agocanvas { display: none; } in your userstyles?
- riffraff 15y agoI wish I had more upvotes to give you. And let's not forget WebGL, as of today, 99% of the WebGL stuff is a sure way to have the fan spin to a million rpms on my laptop and blow out my battery.
- recursive 15y agoCanvas doesn't play sound or suffer from buffer overflows.
- dripton 15y agoAlso, while we're at it, animated GIF click-to-play. I don't want anything on a web site animating or making noise without my specific permission.