Open Bug 1840423 Opened 2 years ago Updated 2 months ago

Investigate Ion threshold tweaking heuristics

Categories

(Core :: JavaScript Engine: JIT, task, P2)

task

Tracking

()

People

(Reporter: iain, Unassigned)

References

(Blocks 1 open bug)

Details

While reviewing Denis's Ion hints patch, I noticed that he was returning early from OptimizationInfo::compilerWarmUpThreshold and skipping the tweaks we make to the base threshold (eg increasing the threshold slightly depending on loop nesting depth to discourage OSR in inner loops). When he fixed that, though, Speedometer performance got slightly worse.

One or more of the tweaks we're making in that code is counterproductive. We should figure out which one and fix it.

See Also: → 1808448
You need to log in before you can comment on or make changes to this bug.