~/talk

How to Achieve Performing Rendering in the Browser

TalkinRussianat JS Conf Armenia 2021 · on Saturday, 2021-10-23· [web-performance]
links:none on file
slides:none on file

A step-by-step explanation of the browser rendering pipeline (DOM → render tree → layout → paint → GPU compositing) with concrete DevTools diagnostics (Timeline, Rendering, Layers). Demonstrates the 16 ms per-frame budget, shows that many DOM updates (200 updates → 98 ms ≈10 FPS) cause forced layouts, and explains practical fixes: promote elements to their own layers using transform/opacity to move work to the GPU, batch reads/writes, use requestAnimationFrame, measure GPU memory, and avoid offscreen or out-of-viewport work that kills FPS.

AI-written summary · about

  1. 0:00Introduction
  2. 3:17Browser page changes
  3. 6:50Rendering layers & optimization
  4. 9:22Analyzing with Performance tool
  5. 10:26FPS and performance
  6. 13:35Forced synchronous layouts
  7. 16:25Updating 200 elements
  8. 18:11Layer management for performance
  9. 20:59GPU memory usage
  10. 22:03Animation best practices
  11. 23:51Rendering optimization tips
  12. 24:13Further learning
  13. 25:16Q&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.