The Performance Lab: Live Demos You Can Measure Yourself
Live test pages for each performance problem, in matched pairs that differ in exactly one way, so you can reproduce our results with your own tools instead of taking our word for them.
Open both pages in Chrome, open DevTools, go to the Performance panel, set CPU to 4× slowdown and network to Slow 4G, then record a reload of each. Compare the same metric across the two. The slow stylesheet and image these pages use are sent with no-store, so your second run measures the same thing as your first.
Image loading priority and LCP
Does telling the browser an image is important actually change anything?
The same hero image, with the same server delay, loaded lazily and then loaded eagerly at high priority. The difference is entirely in when the browser starts the download — not in the file.
What to measure: Largest Contentful Paint, and the delay between the HTML arriving and the image request starting.
What you should see: The lazy version waits before requesting the image, so LCP is later. The priority version requests it almost immediately. The download time is identical in both, which is the point: this is a discovery problem, not a file-size problem.
- Hero with loading="lazy" — the problem
- Hero with fetchpriority="high" — fixed
Layout shift from an image
Why does the page jump when an image loads, and what stops it?
A slow image with no dimensions, and the same image carrying its width and height. Everything below the image moves in the first case and nothing moves in the second.
What to measure: Cumulative Layout Shift, and the Layout Shifts track. Switch on "Layout Shift Regions" in the Rendering panel to see the moved area highlighted.
What you should see: A single large shift when the image arrives in the problem version, and a CLS of 0 in the fixed version. Loading speed is unchanged in both — layout stability and speed are separate problems.
- Image with no width or height — the problem
- Image with reserved space — fixed
A render-blocking stylesheet
Why is my page blank when the content has already arrived?
A page whose content is fully delivered in the first response, but which stays blank for 1.5 seconds because a stylesheet in the head has not arrived. Then the same page with those styles inlined.
What to measure: First Contentful Paint, and the filmstrip. Tick Screenshots before recording.
What you should see: White frames until the stylesheet lands, then everything at once. In the fixed version, content on the very first frame. The content was always there; only the ability to paint it was missing.
- Blocking stylesheet in the head — the problem
- Styles inlined in the document — fixed