Closed
Bug 1653569
Opened 4 years ago
Closed 4 years ago
Avoid allocating memory when computing the area of occluders
Categories
(Core :: Graphics: WebRender, enhancement, P3)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla80
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: nical, Assigned: nical)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
area_of_occluders
in composite.rs is showing up in profiles with a bunch of memory allocations that amount to a few percents of total frame build times. It's not a large amount of wasted CPU time but it's easy enough to avoid by reusing the data structures during the frame and preallocating.
Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Assignee: nobody → nical.bugzilla
Status: NEW → ASSIGNED
Pushed by nsilva@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/82c1c86544dd
Avoid memory allocations in area_of_occluders. r=gw
Comment 3•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox80:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in
before you can comment on or make changes to this bug.
Description
•