-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Unified time slicing tasks #2655
Comments
|
For non-immediate tasks in Cesium, requestIdleCallback looks like it could be really useful. It just got added to Chrome Canary. Not sure how much traction it has for other browsers. |
Here's a much better write up on requestIdleCallback. |
There is some work-in-progress in the |
This will also expand into scheduling work across workers, e.g., for geometric decompression. Users may just schedule a task, and it might have to execute time sliced in the main thread or it may be scheduled on a worker. CC #1487 |
There are also time-sliced tasks that we don't currently do in core Cesium that we'll want to be able to take advantage of this, such as incremental CZML/KML parsing to avoid locking up the browser for large documents. |
More notes, directly from the code: Potential additional types:
|
More thoughts about expanding the job scheduler to go beyond renderer resources: #5249 (comment) |
To throttle work on the main thread like:
Right now, each has their own system, which does not provide real control over avoiding dropping frames.
The text was updated successfully, but these errors were encountered: