Closed
Bug 1333195
Opened 7 years ago
Closed 7 years ago
AccumulateEventRegions has scalability problems
Categories
(Core :: Panning and Zooming, defect, P3)
Tracking
()
RESOLVED
DUPLICATE
of bug 1363423
People
(Reporter: jrmuizel, Unassigned)
References
()
Details
(Keywords: perf, Whiteboard: [gfx-noted])
https://people-mozilla.org/~jmuizelaar/webrender/synthetic/moving-balls.html spends most of it's time in AccumulateEventRegions. There's a bunch of options for how we can do better.
Reporter | ||
Comment 1•7 years ago
|
||
If we were to use TiledRegion we'd probably need a version that has different semantics. The current TiledRegion takes the bounds of the rects in a tile. We'd want something that uses the largest contained rectangle.
Comment 2•7 years ago
|
||
I feel like in the default webrender configuration we shouldn't really be doing anything in AccumulateEventRegions, because APZ is off and layout.event-regions.enabled is false by default. So we shouldn't be building event regions at all. Is that not the case?
Comment 3•7 years ago
|
||
Should this run any faster if the window size excludes most of the objects? (e.g. a 300x200 window) It performs just as poor for me, which is unintuitive.
Reporter | ||
Comment 4•7 years ago
|
||
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #2) > I feel like in the default webrender configuration we shouldn't really be > doing anything in AccumulateEventRegions, because APZ is off and > layout.event-regions.enabled is false by default. So we shouldn't be > building event regions at all. Is that not the case? This was profiled in a regular Nightly build without WebRender.
Comment 5•7 years ago
|
||
Ah, ok. I was thrown off by the URL.
Comment 6•7 years ago
|
||
The patch in bug 1363423 reduces the paint time of this page from ~2500ms to ~300ms. Forward-duping.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•