High CPU Usage when switching tabs
Categories
(Core :: Performance, defect)
Tracking
()
Performance Impact | low |
People
(Reporter: michaelaquilina, Unassigned)
Details
(Keywords: perf:resource-use)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0
Steps to reproduce:
Switch between tabs on firefox and notice that most of the times, CPU usage spikes to 100%, preventing firefox from being usable and then goes back to normal a few seconds later.
Actual results:
Tab would show the spinner icon in the middle of the page if it's a new tab or would freeze the page so that it's unresponsive if its already been loaded up.
Expected results:
When I run the gecko profiler I get the following result:
In particular it looks like the culprit is poll
This happens on both my work machine and personal machine. Also installing Firefox nightly seemed to show the same issue. For this reason I don't think the issue is isolated to a bad configuration.
Reporter | ||
Updated•6 years ago
|
Comment 1•6 years ago
|
||
Hi Mike, can you take a look at this?
Reporter | ||
Comment 2•6 years ago
|
||
Are you referring to me Vicky? I am not sure what I need to take a look at in that case
Comment 3•6 years ago
|
||
Hi michaelaquilina,
Can you stop the profiler, restart the profiler, reproduce the issue, and then dump the profile? Unfortunately, the most interesting parts of this profile (the content process frames) appear to have cycled out of the circular buffer.
Reporter | ||
Comment 4•6 years ago
|
||
Embarrassingly, I can't seem to reproduce this issue anymore - after almost 3 weeks of dealing with it. I'll keep an eye out for it's behaviour and post another profiler result once I've got it.
Comment 5•6 years ago
|
||
Alright, thank you michaelaquilina. Please re-open if you notice it again.
Updated•3 years ago
|
Description
•