Compute-Heavy Tasks Without Jank
Keep the main isolate responsive.
What Jank Is
Jank is a visible stutter when the UI misses a frame. It happens when heavy work hogs the main isolate too long. 😬
The Frame Budget
At 60fps you get about 16 milliseconds per frame. Blow that budget on the main isolate and the screen freezes briefly.
All lessons in this course
- Why Isolates, Not Threads
- Isolate.run for Quick Offloading
- Spawning Isolates and Message Passing
- Compute-Heavy Tasks Without Jank