~/talk

Cut My Task Into Pieces: Concurrent Mode

Talkat JS Poland 2024 · on Thursday, 2024-11-07· [javascript, web-performance]
slides:none on file

Demonstrates splitting long main-thread work into component- and item-sized chunks, running them with a custom scheduler (RX Angular CDK scheduler) so the browser gets back to input within a frame budget. Live demo shows a 400 ms long task turned into INP 400ms→25ms by scheduling and chunking, using a 16ms frame budget and prioritization tiers (immediate, user-blocking, normal, low, idle). Implements chunking, measuring runtime, and re-scheduling; the approach works across frameworks and improves INP and TBT.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:55What are long tasks
  3. 3:20Understanding INP metric
  4. 4:45Demo of INP in action
  5. 6:52Event loop and input delay
  6. 8:55Three ways to improve tasks
  7. 10:18Concurrent mode overview
  8. 11:40Splitting work by component
  9. 12:43How chunking works
  10. 13:50Demo of concurrent rendering
  11. 14:55Prioritizing tasks
  12. 15:37Demo of prioritized rendering
  13. 15:59Wrap up and resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.