Bug 14859 - Removal of plugin event cap causes flash to eat 70%+ CPU on some sites
Summary: Removal of plugin event cap causes flash to eat 70%+ CPU on some sites
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://www.dominos.com.au/home/
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-01 21:23 PDT by Rosyna
Modified: 2022-06-30 00:33 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rosyna 2007-08-01 21:23:54 PDT
Make sure the flash plugin is enabled and go to http://www.dominos.com.au/home/ and then click on the huge "order online" button. (you don't have to be in oz to reproduce the issue). Now with the two flash movies playing, look at Safari's CPU usage in top. On my computer box, it is around 79%.

A similar problem happens with the ads on http://www.nytimes.com/2007/08/02/us/02bridge.html?_r=1&hp=&adxnnl=1&oref=slogin&adxnnlx=1186027285-8Uu/CbTQXNhjogdbpnioag (if you get flash ads).

This becomes a significant issue when you're on a laptop, in the shower, running off of battery and a Dell ad is looping in the background. The battery quickly drains. This may become a very loud issue in the future if people start complaining their battery doesn't last 2 hours (when they actually have an unknown flash ad in the background).

Now, it'd be nice if someone could get Apple's evangelist people to bug Adobe to fix the problem in flash itself, but I don't think Adobe would fix it based on another bugs/implementation details that exist in the flash plugin.
Comment 1 Mark Rowe (bdash) 2007-08-01 21:26:32 PDT
For what it's worth, I think this high CPU usage happened even with Safari 2.0 which is prior to the removal of the plugin event limiting code.
Comment 2 Alexey Proskuryakov 2007-08-01 21:39:22 PDT
On my G4, I'm getting ~60% CPU usage from shipping Safari/WebKit, and ~80% from a nightly with Safari 3 beta. Given that there's video playing, I'm not sure if this is a particularly bad result.
Comment 3 Rosyna 2007-08-01 21:53:55 PDT
Oh, I should mention I'm using the beta flash 9 quartz plugin, which is significantly "better"

http://labs.adobe.com/technologies/flashplayer9/
Comment 4 Alexey Proskuryakov 2007-08-01 21:54:52 PDT
I should note that the video on a background page becomes jumpy for me even with Safari 3 when playing another one in front window, probably because the processor isn't fast enough. This explains why the difference is not so large.
Comment 5 Ahmad Saleem 2022-06-30 00:28:41 PDT
NPAPI support is gone and this website was primarily using Flash in back old days. I think this can be marked as "RESOLVED WONTFIX". Thanks!