-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
requestIdleCallback: Explicit algorithm for idle callback "deadline" #7166
Merged
Commits on Nov 13, 2021
-
Explicit algorithm for idle callback "deadline"
The algorithm replaces the algorithm that is currently defined in prose here: https://w3c.github.io/requestidlecallback/#the-idledeadline-interface). It works as such: - Timers can calculate their estimated next callback timestamps, based on their start time and document-inactive time so far. - The deadline for idle tasks for an event loop is the earliest between: - The time until the next timer callback in this event loop is estimated to fire. - The time until the next render, estimated at16ms after the start of the previous task that had a rended opportunity, if there are pending requestAnimationFrame callbacks. - 50ms TODO: the deadline is currently checked between windows, it needs to be re-checked between callbacks in the same window. See w3c/requestidlecallback#71
Configuration menu - View commit details
-
Copy full SHA for f87739e - Browse repository at this point
Copy the full SHA f87739eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0581126 - Browse repository at this point
Copy the full SHA 0581126View commit details -
Configuration menu - View commit details
-
Copy full SHA for f399e90 - Browse repository at this point
Copy the full SHA f399e90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f40613 - Browse repository at this point
Copy the full SHA 2f40613View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8001958 - Browse repository at this point
Copy the full SHA 8001958View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5925b9f - Browse repository at this point
Copy the full SHA 5925b9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9274cea - Browse repository at this point
Copy the full SHA 9274ceaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 75fae99 - Browse repository at this point
Copy the full SHA 75fae99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cef3cb - Browse repository at this point
Copy the full SHA 1cef3cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for f5e5ba0 - Browse repository at this point
Copy the full SHA f5e5ba0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5fcd1a - Browse repository at this point
Copy the full SHA a5fcd1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb6190a - Browse repository at this point
Copy the full SHA bb6190aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7030e62 - Browse repository at this point
Copy the full SHA 7030e62View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf6958b - Browse repository at this point
Copy the full SHA bf6958bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 866426b - Browse repository at this point
Copy the full SHA 866426bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a9c291 - Browse repository at this point
Copy the full SHA 4a9c291View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d86883 - Browse repository at this point
Copy the full SHA 1d86883View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3af534e - Browse repository at this point
Copy the full SHA 3af534eView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.