Core Web Vitals
Experiments and drop-in code samples for LCP, INP, CLS, and TTFB.
Experiments
-
Featured
The 1946 experiment that defined the INP threshold →
Belgian psychologist Albert Michotte showed two shapes on a screen. Below 100ms delay people saw causality; above 200ms they saw unrelated events. Eighty years later those numbers are the Core Web Vitals INP buckets. Drag the slider — watch causality break at the threshold.
-
LCP Image →
~25 variants of an LCP image: lazy, preload, fetchpriority, AVIF/WebP, picture, video poster. Each variant records its average LCP.
-
View Transitions →
Measure how the auto view-transition affects LCP across navigations. Collects 100 samples and reports averages.
-
dataLayer after paint →
Drop-in script that defers
dataLayer.pushuntil after the next paint, so synchronous GTM work doesn't blow up INP during interactions.