switching to a Google Slides tab is slow (long repaint)
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox57 | --- | affected |
People
(Reporter: asa, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug, )
Details
(4 keywords, Whiteboard: [photon-perf][triage][gfx-noted])
Reporter | ||
Comment 1•8 years ago
|
||
Updated•8 years ago
|
Comment 2•8 years ago
|
||
Comment 3•8 years ago
|
||
Updated•8 years ago
|
Comment 4•8 years ago
|
||
Comment 5•8 years ago
|
||
Comment 6•8 years ago
|
||
Comment 7•8 years ago
|
||
Comment 8•8 years ago
|
||
Comment 10•8 years ago
|
||
Comment 11•8 years ago
|
||
Comment 12•8 years ago
|
||
Reporter | ||
Comment 13•8 years ago
|
||
Updated•8 years ago
|
Updated•8 years ago
|
Comment 14•8 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 15•7 years ago
|
||
Comment 16•7 years ago
|
||
Comment 17•4 years ago
|
||
Currently, particularly while loading this slide set we seem to do considerably worse than chrome. The whole browser becomes janky.
This is clearly related to WebRender as can be seen here, several 500ms+ render.
![]() |
||
Updated•4 years ago
|
![]() |
||
Comment 18•4 years ago
|
||
Updated•4 years ago
|
Comment 19•4 years ago
|
||
It looks like the root cause here might be blob splitting causing a bunch of stacked blobs and a lot of texture upload. Perhaps the arrows with shadow filters are causing us to split up a bunch of big things. That being said, I wasn't able to reproduce anything as bad as the profile Bas recently posted.
Nical, do you want to take a closer look and confirm?
Updated•4 years ago
|
Comment 20•4 years ago
•
|
||
I'm seeing similar profiles althought not as spectacular as Bas, but how bad the problem is depends on how many blob layers we end up with which depends on the contents of the slides. We are hurt by texture uploads a lot more than by actual blob rasterization.
I think that the best way forward here is to stop blindly putting anything inside of an SVG element into a blob recording. Most of what I see on these slides are images and text that we could render with regular display items.
Comment 21•3 years ago
|
||
Bas, can you still reproduce the 500ms paints? I don't see anything close to that.
Comment 22•3 years ago
|
||
(In reply to Jeff Muizelaar [:jrmuizel] from comment #21)
Bas, can you still reproduce the 500ms paints? I don't see anything close to that.
Updated•3 years ago
|
Comment 23•3 years ago
|
||
The Performance Priority Calculator has determined this bug's performance priority to be P1.
Platforms: Windows
Impact on site: Causes noticeable jank
[x] Affects major website
[x] Able to reproduce locally
[x] Multiple reporters
Updated•2 years ago
|
Comment 24•2 years ago
|
||
The severity field for this bug is set to S3. However, the Performance Impact
field flags this bug as having a high impact on the performance.
:bhood, could you consider increasing the severity of this performance-impacting bug? Alternatively, if you think the performance impact is lower than previously assessed, could you request a re-triage from the performance team by setting the Performance Impact
flag to ?
?
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Comment 25•2 years ago
|
||
This depends highly on the slides. The one mentioned in comment 13 is rather complex and even with that the profile looks like https://share.firefox.dev/3PcOiQE
But the behavior is definitely worse than in some other browsers and this is a major website, so performance calculator gives still the same evaluation.
Comment 26•2 years ago
|
||
I've opened the slides in comment 13 in Fx107.0.1, with and without acceleration (WR), and I'm not seeing any high delays in rendering. At most, there may be tens of milliseconds on the initial page load, and virtually no delay once loaded and tabs are switched.
This report is already being tracked by a metabug (1582153), but I'll raise its severity profile to match the performance impact.
Comment 27•2 years ago
|
||
Nical, can you take a look at this and see where we're at?
Comment 28•2 years ago
|
||
(In reply to Olli Pettay [:smaug][bugs@pettay.fi] from comment #25)
This depends highly on the slides. The one mentioned in comment 13 is rather complex and even with that the profile looks like https://share.firefox.dev/3PcOiQE
This profile looks mostly fine, there is a big 16s firstContentfullPaint marker but since the threads are mostly idl for a big part of it I suppose we are waiting for stuff to arrive from network.
Bas's profile shows very long texture uploads. It looks like we are rasterizing a very large amount of blob image tiles because of very poor layerization decisions.
Comment 29•2 years ago
•
|
||
Tim, could you queue this for some research? This has a high performance impact, and Nical isn't able to dig into it very deeply right now.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 30•2 years ago
|
||
(In reply to Nicolas Silva [:nical] from comment #28)
(In reply to Olli Pettay [:smaug][bugs@pettay.fi] from comment #25)
This depends highly on the slides. The one mentioned in comment 13 is rather complex and even with that the profile looks like https://share.firefox.dev/3PcOiQE
This profile looks like it is switching to the google slide tab.
This profile looks like it is of loading the document.
We should decide what we want to address in this bug. Since the page is google docs, it has a very large svg image sprite sheet, which we're not currently great at. On load, and a tab switch in which those resources have been discarded, we pay the price for that. On warm tab switch those resources should still be around. Turning on svg blog images should hopefully help with the load/cold tab switch case. On warm tab switch it looks more like the fallback grouping code is the largest contributor.
Comment 31•1 years ago
|
||
Asa, is this still reproducible for you with current builds?
Updated•1 year ago
|
![]() |
||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•11 months ago
|
Comment 32•6 months ago
|
||
The severity field for this bug is set to S3. However, the Performance Impact field flags this bug as having a HIGH
impact on performance.
:gw, could you consider increasing the severity of this performance-impacting bug? Alternatively, if you think the performance impact is lower than previously assessed, could you request a re-triage from the performance team by setting the Performance Impact
flag to ?
?
Updated•6 months ago
|
Comment 33•6 months ago
|
||
I don't seem to reproduce locally anymore. Closing!
Updated•6 months ago
|
Description
•