Johannes Schickling
About
Projects
Startups
Blog
Draft
Main thread scheduling
Goals
Never drop a frame
Maximize throughput (i.e. utilize available compute)
Links
https://github.com/WICG/scheduling-apis/blob/main/explainers/prioritized-post-task.md#api-shape
Polyfill:
https://github.com/GoogleChromeLabs/scheduler-polyfill
2023/08/18:
requestIdleCallback
is now supported in Safari
https://twitter.com/rniwa_dev/status/1692344277416988942
Current Effect scheduler implementation:
https://gist.github.com/schickling/a07dcb8b6bb87c61c3b3f8b56af04d12