Closed Bug 1617497 Opened 4 years ago Closed 2 years ago

animations on svg polygons perform better on Chrome than Firefox

Categories

(Core :: SVG, defect, P3)

73 Branch
Unspecified
Windows 10
defect

Tracking

()

RESOLVED INCOMPLETE
Webcompat Priority ?
Performance Impact medium
Tracking Status
firefox75 --- affected

People

(Reporter: karlcow, Unassigned)

References

()

Details

(Keywords: perf:responsiveness)

As reported by the user:
on https://webcompat.com/issues/48506

Just visit the site. Everything becomes laggy. CPU usage will increase. Maybe it's something about the background animation/CSS

I didn't notice a lag, but indeed the cpu is a bit higher than in chrome.
I recorded a performance profile on firefox
https://perfht.ml/2T6G2VS

The page contains an svg used as a background which itself has around 57 animated polygons and there's apng with an applied linear gradient with transparency to give colors to the svg.

not sure if it should be considered as a perf issue.

It looks like a lot of time spent painting the SVG background image. Markus, is this expected given the content?

Flags: needinfo?(mstange)
Priority: -- → P3

Somewhat expected - it's a big background image and it contains some opacity animations. Opacity animations inside svg-as-image are expected to be less efficient than opacity animations in inline SVG that's embedded into the page.

Flags: needinfo?(mstange)

This is pretty bad on linux.

Whiteboard: [qf] → [qf:p2:responsiveness]
Webcompat Priority: ? → ---
Webcompat Priority: --- → ?
Performance Impact: --- → P2
Whiteboard: [qf:p2:responsiveness]

I think the site has gone.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.