How to Test Website Speed Properly: PageSpeed Insights vs Lighthouse vs WebPageTest
Why five tools give five answers for the same page, which number to trust for which decision, and how to run a test you can repeat.
In short
If two tools give you two different answers about the same page, neither is broken. They are measuring different things under different conditions, and both results can be correct at once.
The short version of which to trust:
- To decide whether you have a problem: field data — real visitors, over 28 days. This is what Google assesses.
- To find the cause of a problem: lab data — one controlled test you can repeat and change things in.
- To compare before and after: lab data for the mechanism, field data for confirmation that visitors benefited.
A single test result means very little on its own. A test you can repeat under stated conditions means a great deal.
Why the same page gets different scores
Six reasons, and knowing them removes most of the confusion:
Lab or field. A simulated load now, or real visitors over the last four weeks. These answer different questions and will rarely agree.
Device and CPU. Tools throttle the processor to imitate a mid-range phone. Different tools throttle by different amounts, so the same JavaScript takes different times.
Network. Simulated connection speed and latency differ between tools and between runs.
Location. A test server in Virginia and one in Mumbai will measure very different times for the same origin.
Cache state. A cold load with an empty cache and a warm load for a returning visitor are different tests. Some tools do one, some the other.
Plain variance. Your server was briefly busy. A third-party script was slow that second. Run-to-run differences of 10–20% are normal.
What each tool actually does
| Tool | Data | Measures | Best for |
|---|---|---|---|
| PageSpeed Insights | Both | Field Core Web Vitals (top) plus a Lighthouse lab run (bottom) | A first look at one page |
| Lighthouse (in DevTools) | Lab | Simulated load, scored 0–100 | Finding causes, iterating on fixes |
| Chrome DevTools Performance | Lab | A full recording of everything the browser did | The real diagnostic tool |
| WebPageTest | Lab | Configurable device, location, connection, repeat views | Comparing conditions, filmstrips, cold vs warm |
| CrUX / Search Console | Field | Real visitors, 75th percentile, 28 days | Which pages have a problem, at scale |
PageSpeed Insights
The most used and the most misread. It has two halves.
The top half is field data — real Chrome visitors to your page over the last 28 days. This is what Google's assessment uses.
The bottom half is a Lighthouse run performed just now on Google's infrastructure. This is where the 0–100 score comes from.
They frequently disagree, and that is not an error. If you see "the Chrome User Experience Report does not have sufficient real-world speed data for this page", your page does not get enough traffic to be measured on its own, and you are seeing origin-level data for your whole site or no field data at all.
Lighthouse
The same engine as the bottom half of PageSpeed Insights, available in DevTools. Running it locally means your own machine, your own network, your extensions, and your own CPU — so your scores will differ from Google's. Use an incognito window and expect run-to-run variance.
The performance score is a weighted blend of lab metrics. It is a useful progress signal while you work. It is not what Google ranks on, and a score of 100 does not mean you pass Core Web Vitals.
Chrome DevTools Performance panel
Not a score — a recording of everything the browser did, millisecond by millisecond. This is where you find out why something is slow: which element is your LCP, which script occupied the main thread, which element shifted.
Everything in our guides that says "record a reload" means this panel.
WebPageTest
The most configurable. Choose a real device, a real location, a connection profile, and the number of runs. Its two most valuable features: a filmstrip showing frame by frame what the visitor saw, and a repeat view showing what a returning visitor experiences with a warm cache.
CrUX and Search Console
The Chrome User Experience Report is the underlying field dataset. Search Console presents it for your site, grouping URLs into Good, Needs improvement and Poor by issue — which makes it the right place to start for a whole site, because it shows scale. A problem affecting one product page matters far less than the same problem on the template behind two thousand of them.
A testing protocol you can repeat
The point of a protocol is that your next test is comparable with this one. Write yours down and keep it fixed.
For a lab test
- Use a clean browser profile. Incognito, with extensions disabled. Extensions inject scripts and change timings.
- Fix the conditions. Record which device or emulation, which CPU throttling, which network profile, which location.
- Declare the cache state. Cold (cache disabled) or warm. Say which.
- Run it five times. Discard nothing; take the median.
- Change exactly one thing between comparisons. A before-and-after that changed five things proves nothing about any of them.
- Record the tool version. Tools change what they measure between releases, and a comparison across versions is not a comparison.
For a field check
- Look at Search Console first, to see which pages and how many.
- Check PageSpeed Insights for a representative URL from each template.
- Note whether you are seeing URL-level or origin-level data.
- Check mobile and desktop separately. They are assessed separately, and mobile is usually the failing one.
- Remember the 28-day window before concluding a fix did not work.
A worked example of what "repeatable" means
Page:
/collections/all. Chrome 141, incognito, extensions off. DevTools Performance, CPU 4× slowdown, network Slow 4G, cache disabled. Five runs, median reported. Desktop viewport 1440×900.LCP 3.8 s · TBT 520 ms · CLS 0.14
Anyone can repeat that. Compare it with "our site scored 62", which tells you nothing at all.
How to read a report without over-reading it
Start with the metric that is failing, not the top of the opportunities list. Tools order opportunities by estimated byte or time saving, which is not the same as relevance to your problem. If your CLS is poor, a note about unused JavaScript is not your issue.
Treat "estimated savings" as a hint. They are modelled, not measured, and they assume the fix is applied perfectly and in isolation.
Separate diagnostics from metrics. Items like DOM size or cache policy are information. They are not necessarily things to act on today.
Ignore the exact score, watch the direction. Going from 48 to 61 is meaningful. Going from 61 to 63 is probably noise.
Check both form factors. Always.
Common mistakes
Testing once and believing it. The single largest source of wrong conclusions in performance work.
Comparing a lab score against a field score and concluding a tool is broken.
Testing your own site with a warm cache and your own extensions, then wondering why visitors complain.
Testing from one location when your audience is global.
Testing the homepage only. Your traffic arrives on product, collection and article pages, and those use different templates.
Reporting the best run. This is how performance claims get inflated, including in published case studies.
Testing immediately after a deploy, before caches have warmed, and recording the result as normal.
Using the performance score as the goal. It is a proxy. The metrics are the thing.
Verifying a fix
- Test under exactly the conditions you used before. Same tool, same throttling, same cache state, same number of runs, same median.
- Confirm the mechanism, not just the number. The specific thing should have changed in the recording — the shift gone, the long task broken up, the image request starting earlier.
- Check the other metrics. Performance fixes trade off against each other.
- Confirm it is actually live for visitors, and not sitting behind a CDN cache or an unreleased branch.
- Then wait for the field data, and allow the 28-day window.
When your results do not make sense
- Every run is wildly different — something external is varying: a third-party script, an A/B test, or a server under uneven load. Increase the run count and look at the spread rather than the median.
- Lab is good, field is poor — your test conditions are kinder than your visitors' reality. Throttle harder, and segment field data by device and country to find who is suffering.
- Field is good, lab is poor — your lab throttling is harsher than your real audience. Not necessarily a problem.
- PageSpeed Insights and your local Lighthouse disagree — different machine, different network, different location, possibly extensions. Expected.
- Search Console and PageSpeed Insights disagree — different grouping and update schedules. Use Search Console for which pages, PageSpeed Insights for one page in depth.
- No field data at all — not enough traffic for URL-level reporting. Use origin-level data and lean on lab testing.
Making testing a habit
A one-off test tells you about one moment. What actually protects a site is measuring continuously: real-user monitoring so you see the metric your visitors experience, a scheduled lab test so regressions are caught against a fixed baseline, and a check before release rather than after a complaint. For auditing a whole site to a repeatable standard, see the audit methodology.
If you want to see the measurement conditions we hold ourselves to, they are on how we test — and every demo in our performance lab is a pair of live pages you can run these tools against yourself.
Frequently asked questions
Why do PageSpeed Insights and Lighthouse give different scores for the same page?
Because they run on different machines, over different networks, from different locations, and your local Lighthouse run is affected by your extensions and whatever else your computer is doing. Both results can be accurate for the conditions they ran under. Run several times and compare medians, not single runs.
Which website speed test is the most accurate?
None of them is "the" accurate one, because they answer different questions. Field data from real visitors is what Google assesses and what your visitors actually experienced. Lab tools are reproducible and are what you use to find the cause. Use field data to decide what to work on and lab data to work on it.
How many times should I test a page?
At least five, and report the median rather than the best. A single run commonly varies by 10 to 20 percent for reasons unrelated to your site, so a before-and-after based on one run each proves nothing.
Why does my page have no real-user data in PageSpeed Insights?
Google needs a minimum amount of traffic before it can report on a single URL without identifying individuals. Below that threshold you will see origin-level data for your whole site, or none at all, and you will have to rely on lab testing.
Should I aim for a PageSpeed score of 100?
No. The score is a weighted summary of one simulated load, and Google assesses real visitor data instead. A site can score 100 and fail Core Web Vitals, or score in the 70s and pass comfortably. Optimise the metrics, not the score.
Should I test my homepage or other pages?
Test one representative URL from each template — product, collection, article, homepage. Most traffic does not arrive on the homepage, and templates behave very differently from each other.
References
- Lab and field data: why both matter — web.dev
- Lighthouse performance scoring — Chrome for Developers
- Chrome User Experience Report — Chrome for Developers
- Performance panel — Chrome DevTools