Web performance APIs you (probably) didn't know existed
summary
Lists the concrete browser APIs to measure and fix responsiveness: PerformanceObserver for layout shifts and event timing, event timing to compute FID-like latencies, and userAgentSpecificMemory plus JS self‑profiling and long‑tasks (threshold 50 ms) to find CPU and memory culprits. Shows a video demo that serves only a preview on 3G so the full file never downloads, reports slow first‑input delay is ~7× worse on mobile, and links practical tooling (Lighthouse, web-vitals, SpeedCurve, webpagetest) and server‑timing headers to pinpoint backend slowness.
AI-written summary · about
chapters (13)
- 0:00Introduction and setup
- 1:27Why performance matters
- 4:37Measuring performance metrics
- 10:14Measuring with web APIs
- 16:32Profiling APIs
- 21:50Timing APIs
- 24:44Sensor APIs
- 28:32Optimizing with resource hints
- 33:13Responsive images and lazy loading
- 34:38Native scheduler API
- 37:51Over-engineering pitfalls
- 41:20Browser diversity and real-world impact
- 45:14Closing thoughts and Q&A
