4 ms·
From my point of view, problem with flash is not that it uses inordinate amounts of CPU time when doing something "useful", but that it consumes incredible amou
by dfox 17y ago
From my point of view, problem with flash is not that it uses inordinate amounts of CPU time when doing something "useful", but that it consumes incredible amounts of CPU event when it does nothing. On my laptop, there is clear correlation between opening something like youtube video and firefox taking 99% CPU few hours later and refusing to even close (and requiring restarting by means of "killall firefox-bin"). Every time when I had to forcibly kill firefox without flash plugin I was able to find some reason why it had hanged (and in most cases it simply hanged, not consumed 100% CPU), like malicious JS code.
Also, flash is only thing that is reliably broke by suspend to disk on my laptop.
So for me, there is not room for improvement in flash, but flash is simply broken piece of crapware.
- Detrus 17y agoHere is a fix that could have been done long ago to reduce CPU usage http://www.kaourantin.net/2010/03/timing-it-right.html http://www.kaourantin.net/2010/03/timing-it-right.html It took a lot of whining for them to get started on it, but there was and is plenty of room for improvement. The argument about heavy media using a lot of CPU in HTML5 and bad developers who don't care about users only goes so far. Ultimately, Flash is what's being used for CPU hogging sites, Flash developers are the ones pushing the boundaries on a large part of the web, and the makers of Flash need to keep up with their developers. When Canvas or JS becomes annoying it will be up to browsers to fix it, include click to Canvas, do whatever it takes so users keep using the web. If they fail at this, they'll have a hatefest coming their way.