~/talk

Rendering Performance from the Ground Up

Talkat ngVikings 2018 · 2018-03-01..03-02· [web-performance, web-platform]
slides:none on file

Explains why painting is the slow step and how GPUs and compositing avoid it: parsing → DOM/CSSOM → layout → paint → composite, with 60 fps ≈ 16 ms per frame and a Full HD frame as ≈6.2 MB (3.2 floppy). Uses DevTools’ repaint flashing and timeline to show a menu demo that either repaints or becomes composited via will-change, demonstrates transform-only keyframe animations get layer promotion and smoothness, and warns about memory cost and browser differences (opacity and filters may still force paints).

AI-written summary · about

  1. 0:00Start
  2. 1:38WHAT I DO - 3D.IO
  3. 2:36FROM SOURCE CODE TO PIXELS 1/2
  4. 4:27PARSE - LAYOUT - PAINT!
  5. 5:17WHAT'S PAINTING? • Screen= Array
  6. 7:57HOW DOES IT WORK?
  7. 9:31CPU VS GPU
  8. 12:26NOW, WHAT'S A SHADER?
  9. 15:13BROWSERS...
  10. 15:46AN EXAMPLE
  11. 16:54THERE'S A LOT GOING ON
~/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.