Slow scrolling and too many draw calls on stackoverflow survey bar graphs
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
People
(Reporter: mstange, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
(deleted),
image/png
|
Details |
Scrolling across the bar graph at https://survey.stackoverflow.co/2022/#technology-top-paying-technologies is sluggish on my M1 Max Macbook Pro.
The WR profiler shows 700 alpha passes, 2500 draw calls, and ~25,000 vertices.
The Gecko profiler shows a lot of CPU time in Renderer::draw_clip_batch_list
.
Profile: https://share.firefox.dev/3nblWJq
Updated•2 years ago
|
Updated•2 years ago
|
Comment 1•2 years ago
|
||
This runs well when I tested locally - the draw calls and alpha passes seem fine. Is it still occurring for you locally?
Comment 2•2 years ago
|
||
I suspect this was fixed by a patch that allows shared surfaces for tasks that span >1 render pass (which landed a month or two ago).
Reporter | ||
Comment 3•2 years ago
|
||
I can confirm that this is fixed now! Very nice.
(In reply to Markus Stange [:mstange] from comment #0)
The WR profiler shows 700 alpha passes, 2500 draw calls, and ~25,000 vertices.
Now it shows 1 alpha pass and 180 draw calls, with the same number of vertices.
Description
•