Closed Bug 976058 Opened 11 years ago Closed 1 year ago

Reduce wakeup overhead due to spinning wheel on tab load


(Core :: Layout, defect)






(Reporter: rvitillo, Unassigned)



(Keywords: power, Whiteboard: [Power:P2])

Following BenWa's suggestion, I measured the overhead of the spinning wheel that is displayed when a tab is being loaded. Animating the spinning wheel at about 60 FPS has an overhead of 75% wrt to idle so it might make sense to consider lowering the number of wakeups for that animation.
I think this is a front-end change. We should consider the impact of lowering the frame rate of the animation. Scrolling FPS is very important but throbber FPS I'd imagine not so much. We should see how low we can push the animation's frame-rate.
FWIW: I believe the Firefox for Android team addressed this by doing away with the throbber (spinning wheel) altogether, and replacing it with a load-bar of some sort (which only moves when progress is actually made).
FWIW, here are some simple charts showing Fennec loading (desktop site) with and without the spinner/throbber:

The "throbber" chart shows the power consumption maintaining a high, constant max usage. The without chart shows the power usage dipping as the system is able to reduce the load occasionally.
Whiteboard: [Power]
Whiteboard: [Power] → [Power:P2]
Isn't this gone - there is no more spinner?
Flags: needinfo?(svoisen)
(In reply to Wayne Mery (:wsmwk) from comment #5)
> Isn't this gone - there is no more spinner?

The icon has just changed -- now it's a dot bouncing back and forth from left to right.  It's still an animated image displayed in the tab favicon area, though.
Flags: needinfo?(svoisen)
Severity: normal → S3

Dupe of bug 1503259? Also on bug 1812019 we are most likely going to stop the animation if the page hasn't been loaded in a given time range.

Closed: 1 year ago
Duplicate of bug: 1503259
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.