~/talk

Untangling Browser Threads

TalkinRussianat Я 💛 Фронтенд 2023 · on Saturday, 2023-06-17· [web-performance, web-platform]
links:none on file
slides:none on file

Explains how Chromium/Blink runs each tab in a render process with a single main (UI/JS) thread plus dedicated threads like the compositor and image/paint workers. Demonstrates with the Performance panel how a heavy CPU loop on the main thread blocks JS-driven layout/paint while the compositor can still animate, shows image decoding off-main-thread, contrast between Web Workers using structured clone versus transferable ArrayBuffer (which moves memory and removes main-thread ownership), and why garbage collection or very large allocations can still cause jank.

AI-written summary · about

  1. 0:00Introduction
  2. 2:28Processors and threads
  3. 5:57OS processes and threads
  4. 15:53Chrome browser architecture
  5. 17:00Rendering process and threads
  6. 21:42How rendering works
  7. 27:08Thread blocking demo
  8. 33:18Image decoding
  9. 36:57WebAssembly optimization
  10. 39:28Web Workers
  11. 43:31JavaScript garbage collection
  12. 46:19Summary and advice
  13. 48:50Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.