~/talk

The Web's Black Magic

Talkat JSConf EU 2012 · 2012-10-06..10-07· [web-platform, web-performance]
links:none on file
slides:none on file

A small demo game reveals concrete rules: DOM insertion then immediate style changes need a setTimeout(0) so the engine updates styles before transitions start; reading innerText triggers style recalc and doing reads and writes in the same loop causes O(n^2) relayouts, so separate all gets then all sets; adding translateZ(0) creates GPU-backed layers and moves work to fast compositing at the cost of memory; simple counts (535 pixel fills, ~32k per second, ~2M at larger sizes) show the tradeoffs.

AI-written summary · about

  1. 0:00Start
  2. 7:09Event Handling Code
  3. 15:00Compositing Mode
  4. 16:06Compositing and Rendering
  5. 16:23Rendering
  6. 22:52Compositing
  7. 28:02Webkit Debug Borders
~/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.