Cargo Cult Web Performance Optimization
summary
Browsers are an open white box: the WebKit/Chromium codebase is ~4.5GB, and browsers implement DNS prefetch and TCP preconnect plus a Chrome predictor that pre-resolves hosts and subresources. Real pages average >1MB, ~30 hosts and ~80 requests, so the loader builds a DOM while a preload scanner extracts critical resources; scripts block parsing unless marked async or defer. Rendering uses multiple trees, 60fps needs ~16ms per frame, GPU layer promotion (translateZ) helps some animations but costs texture uploads and battery.
AI-written summary · about
chapters (7)
- 0:00Start
- 8:44WebKit Powered Browsers Small sample of the many differences
- 10:50(Chrome) Network Stack
- 18:56Preload Scanner to the rescue!
- 22:59Welcome to the Render forest!
- 27:13Hardware Acceleration 101
- 30:36The browser is not a black box...
related talks
28mThe Browser Hackers Guide To Instantly Loading Everything
36mPerformance for the long haul
53mThe Long-Tail of Performance
28mWhat we talk about when we say "web performances"
24mSuperpowers of browser's Web API
36mBreaking The Bloat: Achieving The Fastest Navigations on The Web
21mMonsters of Web Performance
28mBetter than loading fast… is loading instantly
