Open
Bug 1700284
Opened 4 years ago
Updated 2 years ago
CSS pulse animation cause a ~25% CPU load of Firefox
Categories
(Core :: Graphics: WebRender, defect, P3)
Core
Graphics: WebRender
Tracking
()
NEW
People
(Reporter: whimboo, Unassigned)
References
(Blocks 3 open bugs, )
Details
(Keywords: power)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:88.0) Gecko/20100101 Firefox/88.0 ID:20210322093509
Steps to reproduce:
- Open https://www.faszination-tanzen.de/impressum.html
- Scroll to the button and close the cookie banner
- Ensure the pulsating heart is in view
Here the CSS definition of the element:
#heartbeat {
animation: pulse 1s linear infinite;
}
In Firefox this causes ~20% CPU load on the parent process whereby most of it goes onto the Rendering and WRRenderBackend#1 threads. Comparing to Safari, which uses overall only 6% CPU load, this is a 3-4x higher load.
Here the recorded profile: https://share.firefox.dev/3lOVBzC
Comment 1•4 years ago
|
||
What's the rough split between Rendering and WRRenderBackend threads?
Flags: needinfo?(hskupin)
Reporter | ||
Comment 2•4 years ago
|
||
It's basically a 50:50 split between those two threads.
Flags: needinfo?(hskupin)
Comment 3•4 years ago
|
||
(This should be triaged as part of webrender triaging, I think. Removing qf.)
Whiteboard: [qf]
Updated•4 years ago
|
Updated•3 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•