Closed
Bug 1412112
Opened 7 years ago
Closed 7 years ago
nsLayoutUtils::ViewIDForASR is relatively expensive
Categories
(Core :: Graphics: WebRender, defect, P1)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox57 | --- | unaffected |
firefox58 | --- | unaffected |
firefox59 | --- | fixed |
People
(Reporter: jrmuizel, Assigned: kats)
References
Details
(Whiteboard: [wr-mvp] [gfx-noted])
Attachments
(1 file)
I profiled the new clipping code and 16.8% of the time in it is spent in nsINode::GetProperty(). I believe these mostly come from nsLayoutUtils::ViewIDForASR.
The clipping code is only about 10% of our WR display list building time now so fixing this is not urgent. But it's probably the first low hanging fruit in this area to look at when we get the chance.
Updated•7 years ago
|
Whiteboard: [wr-mvp] [triage]
Updated•7 years ago
|
Whiteboard: [wr-mvp] [triage] → [wr-mvp][triage][gfx-noted]
Updated•7 years ago
|
Blocks: stage-wr-next
status-firefox57:
--- → unaffected
status-firefox58:
--- → unaffected
Priority: -- → P3
Updated•7 years ago
|
Whiteboard: [wr-mvp][triage][gfx-noted] → [gfx-noted]
Assignee | ||
Comment 1•7 years ago
|
||
Assignee: nobody → bugmail
Comment hidden (mozreview-request) |
Updated•7 years ago
|
Status: NEW → ASSIGNED
Priority: P3 → P1
Whiteboard: [gfx-noted] → [wr-mvp] [gfx-noted]
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8931439 [details]
Bug 1412112 - Cache the view id on the ASR to speed up the ViewIDForASR operation.
https://reviewboard.mozilla.org/r/202588/#review207920
Attachment #8931439 -
Flags: review?(mstange) → review+
Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5adba22ff86b
Cache the view id on the ASR to speed up the ViewIDForASR operation. r=mstange
Comment 5•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in
before you can comment on or make changes to this bug.
Description
•