~/talk

The Unbearable Weight of Massive JavaScript

Talkat Pixel Pioneers 2024 · on Friday, 2024-06-14· [web-performance, web-platform]
slides:none on file

Claims that Interaction to Next Paint (INP) exposes JS bloat as the root cause of sluggish sites, and that swapping SPAs for native platform APIs — custom elements, view transitions and the navigation API plus scroll‑snap and scroll‑linked animations — cuts JavaScript from ~55,000 lines to ~650, drops TTI from 12s to 3s, and reduces slow interactions (one site had ~20% >500ms). Framework pass rates can be as low as ~40% for INP; browser‑managed prefetching via speculation rules speeds navigation with zero JavaScript.

AI-written summary · about

  1. 0:00Introduction
  2. 7:45Misaligned priorities
  3. 12:38Illusion of productivity gains
  4. 23:52Over-reliance on client JS
  5. 31:10Embrace the web platform
  6. 46:43Practical steps
~/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.