New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 664971 link

Starred by 3 users

Issue metadata

Status: Duplicate
Merged: issue 664809
Owner:
Closed: Nov 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

High cpu usage of idle renderer - storm of startScrollbarPaintTimer

Project Member Reported by primiano@chromium.org, Nov 14 2016

Issue description

Version: 56.0.2919.0
OS: OSX El Capitan

My canary gets very easily into a state where random processes get very high cpu usage, even when doing nothing.
In this case I had only one tab open:
http://www2.mouser.com/Passive-Components/Frequency-Control-Timing-Devices/Crystals/_/N-6zu9f

See attached trace. The renderer main thread is hammered by timers (TaskQueueManager::DoWork -> startScrollbarPaintTimer). Tese timers doesn't seem to come from the content. If I capture a devtools profile there is no JS activity at all.

This seems to happen on random pages. Yesterday it happened to me while opening some PDFs (see  Issue 664805 ).

CC-ing some scheduler folks, I start wondering whether this is some unintended side-effect of the recent timers throttling.
 
trace_highcpu.json.gz
2.2 MB Download
Cc: thestig@chromium.org
 Issue 664805  has been merged into this issue.
Cc: charliea@chromium.org bustamante@chromium.org
Labels: M-56 ReleaseBlock-Beta
In the meantime adding RB label. Whatever the cause is we shouldn't ship a battery-eating chrome to the public. 

+charliea: do you know if we have any energy benchmark (or just cpu usage) on mac?
Looking at that trace I can see startScrollbarPaintTimer in ./../third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm is posting a task that is pegging the CPU.  I'm not clear why it's getting posted so often.
Cc: bokan@chromium.org
Summary: High cpu usage of idle renderer - storm of startScrollbarPaintTimer (was: High cpu usage of idle renderer - timers seems stuck )
+bokan who recently touched ScrollAnimatorMac. Can you help triaging? 

Comment 5 by bokan@chromium.org, Nov 14 2016

Owner: bokan@chromium.org
Status: Assigned (was: Untriaged)
Yah, this is likely my fault. I'll take a look.
Cc: -thestig@chromium.org
Running away. :)
Mergedinto: 664809
Status: Duplicate (was: Assigned)
Aand in turn this seems to be a dupe of  Issue 664809 .
Glad to see this was caught as a power regression. Did definitely keep my legs warm in these two days :)

Sign in to add a comment