Open Bug 1663570 Opened 4 years ago Updated 2 years ago

Extremely slow rendering of SVG items. Impossible to scroll.

Categories

(Core :: Graphics, defect)

Firefox 82
Unspecified
Android
defect

Tracking

()

Webcompat Priority P3
Tracking Status
firefox82 --- affected

People

(Reporter: karlcow, Unassigned)

References

(Depends on 1 open bug, )

Details

(Keywords: perf, regressionwindow-wanted)

  1. With Firefox Preview Nightly on ANdroid
  2. Go to https://muse.ai
  3. Scroll until icons appears at the bottom

Expected:
smooth scroll

Actual:
Very janky and slow scroll

As reported in https://webcompat.com/issues/57757

Seems like a recent problem. I believe it's caused by the section icons (line-based icons above headlines). If I comment out the part that defines their "url: (...svg)" in CSS, scrolling smoothness goes back to normal.

Created a performance profile.
https://share.firefox.dev/3m0fymz

Not sure if it's related but just in case

  1. Go to https://upload.wikimedia.org/wikipedia/commons/1/1b/Linux_Distribution_Timeline.svg
  2. Try to scroll
    Performance Profile https://share.firefox.dev/3k2ZqPl

Almost impossible.
Device was a pixel 2 Android 10. On firefox Nightly

It seems that scrolling up and down at the bottom of the page is very jittery even on MBP, profile: https://share.firefox.dev/3m82tHQ
Looks like texture cache updates are taking a long time.

Keywords: perf

(In reply to Karl Dubost💡 :karlcow from comment #2)

Not sure if it's related but just in case

  1. Go to https://upload.wikimedia.org/wikipedia/commons/1/1b/Linux_Distribution_Timeline.svg
  2. Try to scroll
    Performance Profile https://share.firefox.dev/3k2ZqPl

Almost impossible.
Device was a pixel 2 Android 10. On firefox Nightly

Both of the profiles you linked seem to be missing a big portion of native call stacks, could you try retaking them with screenshots disabled?

Flags: needinfo?(kdubost)

Miko,

sure which settings do you want me to pick?
There is

  • Web Developer (the current ones)
  • Firefox Platform
  • Firefox Front End
  • Firefox Graphics
  • Media
  • Custom
Flags: needinfo?(kdubost) → needinfo?(mikokm)

(In reply to Karl Dubost💡 :karlcow from comment #5)

Miko,

sure which settings do you want me to pick?
There is

  • Web Developer (the current ones)
  • Firefox Platform
  • Firefox Front End
  • Firefox Graphics
  • Media
  • Custom

Firefox Graphics will probably work, it records threads that do graphics related work.

Flags: needinfo?(mikokm)
Severity: -- → S3

Miko, can you still reproduce this, or should this be closed?

Webcompat Priority: ? → P3
Flags: needinfo?(mikokm)
Flags: needinfo?(mikokm) → needinfo?(jmuizelaar)

I don't currently have an Android phone to reproduce this on. Jamie can you reproduce?

Flags: needinfo?(jmuizelaar) → needinfo?(jnicol)

Yeah, it's just about acceptable on my Pixel 3 but it's really quite bad on my Nexus 5. Here's a profile: https://share.firefox.dev/3zwlhrQ

Looks like another spritesheet texture upload issue.

Depends on: deferrable-blobs
Flags: needinfo?(jnicol)
You need to log in before you can comment on or make changes to this bug.