Almost 400% CPU on website
Categories
(Core :: Graphics, defect, P3)
Tracking
()
People
(Reporter: xracoonx, Unassigned)
References
Details
(Keywords: perf)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0
Steps to reproduce:
Scroll through https://edition.cnn.com/interactive/2020/01/sport/russian-climbers-peak-lenin-spt-intl/
Actual results:
CPU spiked and stayed at just below 400% CPU
Expected results:
No such increase in CPU usage. Safari seems to stay rather cold and Chrome around 150%.
When I look at a text at the lower part of the page that says
Please forgive us. We love you. Goodbye.
When will we see the flowers again?
the CPU spikes.
Comment 2•5 years ago
|
||
Hi,
I wasn't able to reproduce this issue on Firefox 72.0.2 or Firefox 74.0a1
I'm not entirely sure what you mean by 400% CPU, but the CPU usage did not spike on my end while browsing the page.
Could you check if this also occurs in safe-mode? You can find out how to do this here:
https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
Thanks!
(In reply to Peter_M from comment #2)
Hi,
I wasn't able to reproduce this issue on Firefox 72.0.2 or Firefox 74.0a1
I'm not entirely sure what you mean by 400% CPU, but the CPU usage did not spike on my end while browsing the page.Could you check if this also occurs in safe-mode? You can find out how to do this here:
https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-modeThanks!
Hi,
By 400% CPU I mean that the reported percentage of Firefox(CP Web Content) in Activity Monitor is just below 400% in the CPU column. (I guess it can be more than 100% because of the multiple cores.)
I tried with Add-Ons disabled and indeed get "only" 150% CPU usage.
So, I guess I have a bad Add-On and maybe the only way to discover which it is, is by disabling them individually and try.
However, 150% is still quite high, or?
Hi again,
Just tried with all Add-Ons manually disabled and still get 400%. So, it's unfortunately not the Ad-Ons but something else that gets disabled in "Safe Mode". Any idea what that might be?
Comment 5•5 years ago
|
||
Hi,
Then it could be a custom theme you are using, or hardware acceleration.
Could you check if disabling hw acceleration helps? You can find this in about:preferences under the performance section.
Also, could you check if its the same on Firefox Nightly? You can download it from here:
https://www.mozilla.org/en-US/firefox/channel/desktop/
Thank you for investigating!
Hi,
Thanks for following up.
I have no custom theme.
Same problem with hardware acceleration disabled.
Firefox Nightly is affected as well.
Comment 7•5 years ago
|
||
I'm going to set a component in order to involve the development team in reviewing this issue.
Thank you for reporting!
Comment 8•5 years ago
|
||
xracoonx, can you push about:support to this bug? Thanks.
Updated•5 years ago
|
Comment 9•5 years ago
•
|
||
(In reply to xracoonx from comment #0)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0
Steps to reproduce:
Scroll through https://edition.cnn.com/interactive/2020/01/sport/russian-climbers-peak-lenin-spt-intl/
It seems that Image uploading seemed to take time. Though I did not see 400%, but cpu/gpu usage seems heavier. Performance was also bad with WebRender on Windows10.
Reporter | ||
Comment 11•5 years ago
|
||
Comment 13•5 years ago
|
||
Thanks you! From it, the problem seemed to happen with OpenGL compositor.
Reporter | ||
Comment 14•5 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #13)
Thanks you! From it, the problem seemed to happen with OpenGL compositor.
Should I try something?
Comment 15•5 years ago
|
||
It is helpful if you could get a result of Firefox profiler.
https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Profiling_with_the_Built-in_Profiler
https://profiler.firefox.com/
Reporter | ||
Comment 16•5 years ago
|
||
Reporter | ||
Comment 17•5 years ago
|
||
Like this?
By the way, it is a bit strange that a mozilla profiler warns about self-hosted add-ons when installing the profiler...
Also, it seems that the language on the explanation page needs a check:
"The Firefox Profiler is a profiler that is built into Firefox and is available at profiler.firefox.com. It has tighter integration with Firefox than external profilers, and has more of a platform focus that [sic!] the DevTools performance panel. It can be used a [sic!] variety of situations where external profilers are not available, and can provide more information and insight into what the browser is doing." (https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Profiling_with_the_Built-in_Profiler)
Reporter | ||
Comment 18•5 years ago
|
||
Anything else I could do or test?
Comment 19•5 years ago
|
||
(In reply to xracoonx from comment #1)
When I look at a text at the lower part of the page that says
Please forgive us. We love you. Goodbye.
When will we see the flowers again?the CPU spikes.
This is showing an animation with a blur filter. I've tested with gfx.webrender.all
enabled and CPU usage was much lower in that section.
Comment 20•5 years ago
|
||
(In reply to xracoonx from comment #17)
By the way, it is a bit strange that a mozilla profiler warns about self-hosted add-ons when installing the profiler...
Yes. There is active work happening on improving this.
Also, it seems that the language on the explanation page needs a check:
Thanks, I've corrected the two mistakes you pointed out.
Reporter | ||
Comment 21•5 years ago
|
||
(In reply to Markus Stange [:mstange] from comment #19)
(In reply to xracoonx from comment #1)
When I look at a text at the lower part of the page that says
Please forgive us. We love you. Goodbye.
When will we see the flowers again?the CPU spikes.
This is showing an animation with a blur filter. I've tested with
gfx.webrender.all
enabled and CPU usage was much lower in that section.
I can confirm the lower CPU with this setting enabled. It's more in the area of Chrome then. Though Safari seems still much lower.
Updated•3 years ago
|
Description
•