~/talk

JavaScript Performance in the Browser's World

Talkat dotJS 2013 · on Monday, 2013-12-02· [javascript, web-performance]
slides:none on file

Browser devtools and webpagetest.org expose the real bottlenecks: forced layouts show as yellow triangles but here the real culprit is an algorithm, not microbenchmarks — the profiler reveals 89,000 Math.max calls caused by the masonry plugin recalculating the entire layout on each infinite-scroll append, producing long CPU bursts and GC pauses. Fixes that work: use CSS transitions, batch DOM work with requestAnimationFrame, and profile before optimizing.

AI-written summary · about

  1. 0:00Intro
  2. 1:22Changing Your Mindset
  3. 2:17Loop Optimization
  4. 3:05Peephole Optimization
  5. 5:30Browser Tools
  6. 7:35Force Layout
  7. 9:59Chrome Force Layout
  8. 12:15Chrome Infinite Scroll
  9. 18:04Summary
~/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.