~/talk

Breaking Down Long Tasks

Talkat performance.now() 2023 · 2023-11-02..11-03· [web-performance]
slides:none on file

Metric-level claim: Interaction to Next Paint (INP) replaces FID in March 2024 and measures worst interactions not just the first; field data shows p75 has 36% of sites needing improvement. Practical tools: the web-vitals attribution build (adds ~600 bytes), the Chrome extension or console snippet for logging, and web-vitals → RUM export. Experimental fixes: scheduler.postTask / scheduler.yield and React startTransition; attribution-improving diagnostics come from the Long Animation Frames API (origin-trial) and have already exposed a slow third‑party like Moment.js.

AI-written summary · about

  1. 0:00Introduction
  2. 1:08Long tasks and INP metric
  3. 5:25Measuring INP field vs lab
  4. 11:23Attribution build for diagnostics
  5. 15:16Reproducing slow interactions
  6. 19:10Analyzing with performance profiler
  7. 23:21Reducing presentation delay
  8. 26:12Long animation frames vs tasks
  9. 29:03Yielding to main thread
  10. 34:57Summary of optimizations
  11. 36:02Q&A: Event types & prioritization
  12. 38:11Q&A: Breaking tasks & perceived perf
  13. 39:35Q&A: Timing for performance tests
  14. 40:39Q&A: Dev vs prod monitoring
  15. 42:04Q&A: Web Vitals in GA
  16. 42:46Q&A: CSS containment & DOM size
  17. 43:49Q&A: Simple performance metrics
~/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.