Todoist triggers high CPU via constantly painting infinite SVG animations
Categories
(Core :: Web Painting, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox126 | --- | affected |
People
(Reporter: jryans, Unassigned)
References
()
Details
Attachments
(2 files)
Firefox 126.0a1 (2024-03-25)
macOS 14.4
Todoist v5552
STR
- Load the redacted version of https://app.todoist.com/app/today attached to this bug
- Profiling should reveal constant painting because of ~20 SVG animations (search for
animateTransformin the page inspector)
ER
Since these animations seem to cause no perceptible visual change, it would be best if they did not trigger constant painting work and CPU usage.
AR
The animations paint forever despite not doing anything.
Notes
I have separately notified Todoist about this issue, so they may change the live site soon to fix the issue on their side. mstange suggested this might be an interesting page to study to improve painting performance, so that's why I have filed it here.
| Reporter | ||
Comment 1•2 years ago
|
||
Here's a profile I captured of page in question: https://share.firefox.dev/4cunDu1
| Reporter | ||
Comment 2•2 years ago
|
||
Added another attempt at capturing the page, still redacting some things, but more elements are preserved. This version seems to get closer to live site performance.
On my system, the live site causes:
Content process: 50 - 60% CPU
Main process: 160 - 200% CPU
This "Redacted 2" version causes:
Content process: 36 - 38% CPU
Main process: 160 - 200% CPU
| Reporter | ||
Comment 3•2 years ago
|
||
The live site is now fixed: Todoist v5569 no longer leaves stray animateTransforms on the page. Profilers confirm the infinite painting has stopped.
Comment 4•2 years ago
|
||
Thanks. A simplified version of the page that triggers the infinite (but useless) painting would make it easier to debug the issue. The total cpu use isn't too important, just the infinite useless painting.
Comment 5•2 years ago
|
||
The severity field is not set for this bug.
:tnikkel, could you have a look please?
For more information, please visit BugBot documentation.
Updated•2 years ago
|
Description
•