~/talk

Efficient CSS Animations

Talkat CSS Day 2014 · on Wednesday, 2014-06-04· [css, web-performance]
slides:none on file

Explains which CSS properties avoid layout and paint by running on the compositor—notably opacity and transform—and why that can move most work off the main thread. Describes how getComputedStyle and similar queries getComputedStyle flushes force style/layout work, breaking coalescing. Shows profiling with the Gecko profiler add-on on a Firefox OS UI: samples show roughly two thirds of time in painting (about 32% in one paint path) and about one third in restyle/layout, so optimize to reduce repaints.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10DOM and Frame Trees
  3. 6:00Tradeoffs
  4. 8:47Optimizations
  5. 10:54Skipping Steps
  6. 15:25Coalescing
  7. 22:31Performance
  8. 25:04Compositing
  9. 30:11Experimenting
  10. 33:20Profile
  11. 35:46Call Stacks
  12. 39:31Performance Questions
~/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.