https://github.com/malchata/task-chunking
A small demo that shows how to chunk up tasks.
https://github.com/malchata/task-chunking
Last synced: 4 months ago
JSON representation
A small demo that shows how to chunk up tasks.
- Host: GitHub
- URL: https://github.com/malchata/task-chunking
- Owner: malchata
- License: mit
- Created: 2022-08-31T13:51:01.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-31T14:34:03.000Z (almost 3 years ago)
- Last Synced: 2025-02-01T08:45:42.466Z (5 months ago)
- Language: JavaScript
- Size: 629 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Task chunking demo
This demo uses a number of strategies to chunk up work using `setTimeout`, using a `Promise` to `resolve` a `setTimeout` call, the `postTask` API, and `requestIdleCallback`. Use a performance profiler to see the results of each button.