Test your site's speed properly

speed test, pagespeed, ttfb, lcp, webpagetest, lighthouse · 0 found this helpful

A speed test gives you numbers to work from. A bad test gives you the wrong numbers. This article shows how to get results you can trust.

Rules for a fair test

  1. Test more than once. Run it three times and use the middle result. One run can be off.
  2. Test your real pages. The home page, a typical inner page, and your most important page, such as checkout or contact.
  3. Test the cached page. The first request after a cache clear is slower. Run a test, wait, and run it again.
  4. Change one thing at a time. Otherwise you won't know what helped.
  5. Keep the same tool and settings. Compare like with like.
  6. Test from the right place. A server near your customers, in Canada if that's where they are.

Tools

Tool Good for Where
PageSpeed Insights Core Web Vitals from real visitors plus a lab test pagespeed.web.dev
WebPageTest The waterfall chart, choice of location and device webpagetest.org
Browser DevTools, Network tab Seeing each file and its time F12 or Cmd+Option+I
Lighthouse in Chrome DevTools Quick lab test on your own machine Lighthouse tab
GTmetrix Easy-to-read report and history gtmetrix.com

The numbers that matter

Metric What it measures Good
TTFB (time to first byte) How long the server takes to start replying Under about 800 ms for a page that isn't cached, much lower when cached
LCP (largest contentful paint) When the biggest thing on screen appears 2.5 s or less
INP (interaction to next paint) How fast the page responds to a click or tap 200 ms or less
CLS (cumulative layout shift) How much the page jumps while loading 0.1 or less
Total page weight Size of everything loaded Under about 2 MB for most business pages

See Core Web Vitals for small business sites.

Lab data and field data

PageSpeed Insights shows two sections.

  • Field data comes from real Chrome users over the last 28 days. It shows how your site performs for actual visitors. It appears only if your site gets enough traffic.
  • Lab data is a one-off simulated test. It's useful for finding causes, but it varies.

If they disagree, trust the field data and use the lab data to find fixes. Don't chase a perfect score of 100. A score of 80 or better with good vitals is fine.

How to read a waterfall

A waterfall is a chart with one row per file. Look for:

  • A long first bar. Slow server response. See Why is my site slow?.
  • Huge images with long download bars. See Optimize images for the web.
  • Many small files in a row. Too many scripts and plugins.
  • A third-party file that takes seconds. A chat widget or font from another site.

Test caching

  1. Open DevTools and the Network tab. Reload.
  2. Click the first request, the page itself. Look in Response Headers for x-litespeed-cache: hit. A miss on the first load and a hit on the next means caching works.

See LiteSpeed Cache explained.

What a test can't tell you

  • How your site feels to a visitor on a poor mobile connection. Test with "Slow 4G" in DevTools.
  • Whether a plugin slows wp-admin. Time it by hand.
  • Whether the server is overloaded. See Read your Resource Usage page.

Tip: Write down results in a simple table with the date, tool, and change made. You'll see what worked.

Was this helpful?

Still stuck? Ask us and we'll walk you through it.