Closed
Bug 1722968
Opened 3 years ago
Closed 3 years ago
Add an optimization for GetAllInFlowRects to avoid expensive ancestor lookups in DOMIntersectionObserver.
Categories
(Core :: DOM: Core & HTML, task)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
92 Branch
Tracking | Status | |
---|---|---|
firefox92 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(1 file)
No description provided.
Assignee | ||
Comment 1•3 years ago
|
||
Part of the issue with the profile in the blocked bug is that 30% of the
time is spent in nsLayoutUtils::FindNearestCommonAncestorFrame from
DOMIntersectionObserver::Update. That shouldn't be needed since in most
cases we know we're an ancestor.
We have an optimization for the root frame but DOMIntersectionObserver
keeps its rects relative to target
. So we only need to do the
expensive transform for IB splits / fragmented flows.
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e5c5516d8b08 Add an optimization for GetAllInFlowRects to avoid expensive ancestor lookups in DOMIntersectionObserver. r=jwatt
Comment 3•3 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox92:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•