Open Bug 1781108 Opened 2 years ago Updated 2 years ago

High CPU usage & jank with simple svg animation on android

Categories

(Core :: SVG, defect)

Firefox 103
defect

Tracking

()

UNCONFIRMED
Webcompat Priority P3

People

(Reporter: oyejorge, Unassigned)

References

Details

Steps to reproduce:

Opened this svg: https://raw.githubusercontent.com/oyejorge/firefox-android-svg/main/example.svg

Actual results:

Saw cpu usage and jank in the performance profile

Originally report (with performance profiles) on github: https://github.com/webcompat/web-bugs/issues/107241

Submitting here per request from denschub

Expected results:

A simple svg animation shouldn't use so much cpu or cause jank

For reference, here are some of the profiles from that bug:

Webcompat Priority: --- → P3

Can't really see difference when comparing locally Nightly to Chrome on Sony 10 II.
And the profiles have plenty of idle time between paints. So it is hard to see the jank.

Component: Performance → SVG

Dennis, the profiles there don't seem to have native stacks... But from the colors it looks mostly graphics?

I didn't capture those profiles, these are from the Reporter's WebCompat report. I just copy-pasted them over here so they don't get lost. I can't even reproduce this on my device, so I also can't capture new profiles, sadly.

The severity field is not set for this bug.
:boris, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(boris.chiou)
Severity: -- → S3
Flags: needinfo?(boris.chiou)
You need to log in before you can comment on or make changes to this bug.