Tweak idle scheduling to support high frame rates better
Categories
(Core :: General, enhancement)
Tracking
()
People
(Reporter: smaug, Assigned: smaug)
References
Details
Attachments
(4 files)
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D147642
Assignee | ||
Comment 4•2 years ago
|
||
This approach tweaks only the idle handling part. We may want to reduce the length of non-idle
slices too, but that is somewhat separate issue.
Depends on D147643
Assignee | ||
Comment 5•2 years ago
|
||
The limit without a separate timeout to guarantee the callback will be called eventually doesn't really work.
See https://bugzilla.mozilla.org/show_bug.cgi?id=1763839#c8
And 5ms jank isn't too bad.
Depends on D147644
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 7•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/cea657e12ad1
https://hg.mozilla.org/mozilla-central/rev/02f41c069f40
https://hg.mozilla.org/mozilla-central/rev/46c6d357568e
https://hg.mozilla.org/mozilla-central/rev/51dcf42bd3d7
Comment 9•2 years ago
|
||
Is this worth putting into the 103 release notes, along the lines of "Improved performance on high-refresh rate monitors (140Hz+)"?
Assignee | ||
Comment 10•2 years ago
|
||
I think the patch ended up affect 120+, but yes. Feedback in bug 1764578 was rather positive.
Release Note Request (optional, but appreciated)
Changes in this bug affect FF 103
[Why is this notable]:
Certain websites, like Youtube , use requestIdleCallback API and it didn't work too well with very high refresh rate monitors.
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1764578#c23
[Affects Firefox for Android]:
If there are very high refresh rate Android devices and we expose that rate to the web, then yes...
I was told we do expose high refresh rates on Android too
[Suggested wording]:
"Improved performance on high-refresh rate monitors (120Hz+)"
[Links (documentation, blog post, etc)]:
Assignee | ||
Updated•2 years ago
|
Comment 11•2 years ago
|
||
Note added to 103 nightly release notes.
Updated•2 years ago
|
Description
•