Open Bug 1599216 Opened 6 years ago Updated 3 years ago

Huge GUI lag when adjusting SVG

Categories

(Core :: Graphics, defect, P3)

72 Branch
All
macOS
defect

Tracking

()

Performance Impact low

People

(Reporter: adam.s.chalmers, Unassigned)

Details

(Keywords: perf:responsiveness)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:72.0) Gecko/20100101 Firefox/72.0

Steps to reproduce:

  1. Opened FF Nightly 72.0a1 (2019-11-25) (64-bit) on my Macbook Pro
  2. Visited https://wattenberger.com/guide/scaling-svg
  3. Scrolled down to the 4 adjustable sliders
  4. Adjusted a slider

Actual results:

Firefox started dropping GUI frames like crazy. I experienced huge lag as the SVG struggled to redraw.

Profile: https://perfht.ml/37yVrom

Expected results:

There should have been no lag and the SVG should have redrawn itself at the browser refresh rate. Chrome did this correctly.

Status: UNCONFIRMED → NEW
Component: Performance → Graphics
Ever confirmed: true
OS: Unspecified → macOS
Hardware: Unspecified → All
Whiteboard: [qf:p3:responsiveness]
Blocks: wr-mac, wr-perf
Priority: -- → P3

oh whoops, not webrender.

No longer blocks: wr-perf, wr-mac
Priority: P3 → --

Since we're in the midst of landing a bunch of big things for mac (wr AND coreanimation), we should test out how those things affect this. ni-ing myself to check that out (although might want to wait for that stuff to bake a bit).

Flags: needinfo?(a.beingessner)
Priority: -- → P3

hey markus, how's this look with all your patches now?

Flags: needinfo?(a.beingessner) → needinfo?(mstange)

No better. We didn't land any SVG rasterization perf fixes recently that I'm aware of.

Flags: needinfo?(mstange)
Performance Impact: --- → P3
Whiteboard: [qf:p3:responsiveness]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.