~/talk

Coding Session: Stunning Performance

links:none on file
slides:none on file

Demonstrates using the browser Performance API and PerformanceObserver to capture long task events and custom performance marks/measures, sending entries to an analytics endpoint (console in the demo). Reproduces a 7s scripting spike via a recursive Fibonacci function that emerges when the page has 42 images, adds performance.mark/measure around the problematic “guide image,” ships telemetry, and shows an optimization that reduces the measured latency from 8,300 ms to 54 ms in modern browsers (IE unsupported).

AI-written summary · about

  1. 0:00Performance monitoring
  2. 1:05Real user data
  3. 2:55JavaScript bottleneck
  4. 4:25Long tasks API
  5. 6:37PerformanceObserver
  6. 8:45Custom marks
  7. 10:16Tracking long tasks
  8. 12:56Before vs after
  9. 14:39Performance takeaways
~/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.