[Bug] Scrolling stutter on gadgets.ndtv.com website
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
Performance Impact | low |
People
(Reporter: ekager, Unassigned)
References
(Depends on 1 open bug, Blocks 2 open bugs)
Details
(Keywords: perf:responsiveness)
Attachments
(1 obsolete file)
From github: https://github.com/mozilla-mobile/fenix/issues/17116.
Steps to reproduce
Open gadgets.ndtv.com website and scroll. For ex open this link https://gadgets.ndtv.com/mobiles/news/google-qualcomm-project-treble-partnership-4-android-os-versions-security-updates-2340017
Expected behavior
Scrolling must be smooth.
Actual behavior
Scrolling stutter. Samsung internet and chrome both works fine.
Device information
Samsung Galaxy A71
- Android device: Android 10 One UI 2.5
- Fenix version: 84.1.1
Change performed by the Move to Bugzilla add-on.
Updated•4 years ago
|
Comment 1•4 years ago
|
||
I think I can reproduce this; specifically if I load the URL, and then click "Show full article", and then do a fast swipe up or down to try to scroll through the full article. When the video comes into the scrollport (the video about halfway down the page), the scrolling operation stutters for a bit.
I'll see if I can capture a profile in a bit.
Comment 2•4 years ago
|
||
Profile showing the jank when scrolling past the video:
https://share.firefox.dev/3c1LfcO
The jank (when the video is scrolling past) happens around 1.70s timestamp. It looks like it's a long composite operation on the Renderer thread. In particular: most of the composite operations are 10ms or less, but there's one in particular that's 90ms long, and about half of it is spent in memcpy operations. Here's a snippet of that profile, zoomed to this composite operation:
https://share.firefox.dev/35YO2zG
I see a similar (but smaller) stutter when scrolling near the top of the page, around when the line-graph image scrolls out of view. Here's a second profile of that, with the janky frame around the center of the profile (at timestamp 2.24s):
https://share.firefox.dev/2MeNcrb
Snippet zoomed to just that one composite operation: https://share.firefox.dev/2KGW3So
This one also seems to be spending most of its samples in memcpy.
Classifying this under WebRender, [qf:p3:responsiveness].
Comment 3•4 years ago
|
||
A memcpy in the texture uploader could indicate large blob images.
Updated•4 years ago
|
Comment 4•4 years ago
|
||
It looks like an SVG spritesheet getting uploaded at various large resolutions.
Updated•4 years ago
|
Comment 5•3 years ago
|
||
This looks like the same texture eviction problem I found in bug 1619093.
My mod that disables the start frame eviction seems to sort it out for me.
Original: https://imgur.com/a/Jvjy3PF
Mod: https://imgur.com/a/dpIoWDS
See gfx/wr/webrender/src/texture_cache.rs lines 912-917.
Updated•3 years ago
|
Updated•9 months ago
|
Description
•