Open
Bug 1960435
Opened 6 months ago
Updated 6 months ago
Tune heuristics for offthread baseline compilation
Categories
(Core :: JavaScript Engine: JIT, task, P1)
Core
JavaScript Engine: JIT
Tracking
()
NEW
People
(Reporter: iain, Unassigned)
References
(Blocks 1 open bug)
Details
After bug 1960433 lands, offthread baseline compilation will be feature complete. However, I haven't done any tuning to figure out how it should affect our compilation thresholds.
Important questions:
- At what threshold should we insert a baseline function into the queue? Currently, I haven't changed the number from main-thread baseline.
- At what threshold should we force-dispatch the contents of the queue, even if it's not full? Currently, I have hardcoded that threshold to 2x the baseline warmup threshold.
- What's the best value for the queue capacity?
- How does this interact with JIT hints? Should we be eg eagerly pushing scripts into the queue?
Hopefully we can find a set of answers to these questions that speeds up sp3.
You need to log in
before you can comment on or make changes to this bug.
Description
•