Animated Personas can cause a high cpu load




7 years ago
2 months ago


(Reporter: whimboo, Unassigned)


({perf, regression})

perf, regression

Firefox Tracking Flags

(blocking2.0 -)


(Whiteboard: [4b2], URL)



7 years ago
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b2) Gecko/20100720 Firefox/4.0b2

Having an animated Personas (as the one given in the URL field) installed, the browser constantly has a cpu load of 40% on my dual core MBP. With Firefox 3.6 I only see a cpu load of 25%. People can also see this on other platforms.

1. Open task manager and check the cpu load of Firefox
2. Install or preview:

After step 2 you should notice a drastic increase of the cpu load. It will be persist until you select another Persona or the default theme.

Even those Personas are pretty neat, mobile users will be disappointed of short battery cycles and probably don't know what's causing it.


7 years ago
Whiteboard: [4b2]


7 years ago
Component: Theme → General
Product: Firefox → Core
QA Contact: theme → general
Do we end up repainting the entire window (including the content area) on every animation frame here or something?
blocking2.0: --- → ?
Keywords: regression
We can look into this, but frankly expecting decent battery life with an animated persona sounds misguided.

Comment 3

7 years ago
I can confirm that Firefox 4.0b3pre is much slower (25-30%) than Firefox 3.6 (18-20%) when using this theme. That's on Windows XP, dual core laptop.


7 years ago
Keywords: regressionwindow-wanted

Comment 4

7 years ago
On OS X Firefox 4.0 beta 2 uses 70% of my cpu. While starting to dig into the regression range finding, I have found that a big spike happened in builds between 20100211 and 20100216. I will further work on getting the changeset ids for the range. During that time Firefox has been used about 99% of the cpu. So we constantly are getting better.

Comment 5

7 years ago
Regression window is 2010021103 and 2010021207:

Benjamin, could it be related to the IPC or Lorentz changes which have been checked in during this time frame?
Keywords: regressionwindow-wanted

Comment 6

7 years ago
Not obviously. You're of course welcome to make a smaller regression range if you think it will help. I suspect it would be easier to answer bz's question. I presume there aren't actually any plugins involved.


7 years ago
blocking2.0: ? → -
You need to log in before you can comment on or make changes to this bug.