~/talk

Micro Benchmarks

Talkat performance.now() 2022 · 2022-10-27..10-28· [web-performance, testing]

A practical pair of tools appears: thread instruction counter that counts retired CPU instructions via Puppeteer traces to give a stable, comparable metric (used with npx, reports lowest of runs), and memlab that takes heap snapshots through scripted scenarios to surface leaked objects and representative retainers. Examples show component touches costing ~3×, forced compute jumping 70× then 10× for visible elements, DOM updates 20× (or 4× with fewer ops), and tiny 2–3% differences for hooks versus classes. Tools work today but require Linux and specific Chrome builds and treat instruction counts as comparative, not absolute.

AI-written summary · about

  1. 0:00Intro
  2. 1:05Agenda
  3. 3:30CPU Retired Instruction Count
  4. 4:55CPU Instruction Count
  5. 6:45Thread Instruction Counter
  6. 9:57AB Testing
  7. 20:25React hooks
  8. 24:00Rewrite Chrome
  9. 27:55Memory Leaks
  10. 33:40Performance Calendar
~/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.