Closed
Bug 1834145
Opened 2 years ago
Closed 2 years ago
Consider making stylo work unit size configurable at runtime.
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
115 Branch
Tracking | Status | |
---|---|---|
firefox115 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(1 file)
No description provided.
Flags: needinfo?(emilio)
Assignee | ||
Updated•2 years ago
|
Flags: needinfo?(emilio)
Assignee | ||
Comment 1•2 years ago
|
||
This adds two prefs to configure the parallel traversal work item size
and kick-off threshold, but otherwise shouldn't change behavior.
I switched from iterator generics to just a slice while at it, mostly
for simplicity, but there is a trade-off:
-
When switching from sequential to parallel traversal, we potentially
pay the price of memmoving the VecDeque around once to make them a
contiguous slice. -
However we win in the common case of the smaller-than-work-unit size
in which case we no longer need to copy stuff to a WorkItem. So I
think overall this should be an improvement.
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d9151a538eae
Make style parallel traversal more tunable at runtime. r=smaug
Comment 3•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox115:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•