Closed Bug 1857731 Opened 9 months ago Closed 9 months ago

Schedule PREPARE_FOR_PAGELOAD to happen during idle time

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: smaug, Assigned: smaug)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sp3])

Attachments

(1 file)

This is just a minor tweak to the recent PREPARE_FOR_PAGELOAD minorGC.

Minor GC doesn't really need any hint from RefreshDriver, it is enough to have idle time.
(separately I'm trying to find a way to remove the explicit GetNextTickHint() for other slices and make also those just rely on the idle time)

On tryserver this doesn't show any major change to the performance
https://treeherder.mozilla.org/perfherder/compare?originalProject=try&originalRevision=126820c114282edb62de142b7f5ac7239e6c5622&newProject=try&newRevision=a376d5835ca8f807913b496aa5140a29026ff74c&page=1&framework=13
but locally this seems to make scheduling a bit more predictable.

Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8db0af2f22c3
Schedule PREPARE_FOR_PAGELOAD to happen during idle time, r=jonco
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: