How Web Speed Advisor analyses your website
Where the numbers come from, how we decide what to fix first, and what you should still check yourself.
1. The data: Lighthouse via PageSpeed Insights
Each analysis runs Google's PageSpeed Insights API for the URL you enter, once with the mobile strategy and once with the desktop strategy. PageSpeed Insights runs Lighthouse on Google's servers and returns the performance score, the lab metrics (LCP, CLS, Total Blocking Time and others) and the individual audits that explain what slowed the page down.
Results for the same URL and device are cached for up to an hour, so re-running an analysis straight away returns the same report. Run it again later to measure a change.
2. Lab data vs field data
The scores are lab data: a single, controlled page load on a simulated device and network. Lab data is repeatable and points to specific causes, which is what you need when fixing something.
Google's ranking systems and the Core Web Vitals report in Search Console use field data: what real Chrome users experienced over the previous 28 days. The two often differ. A page can score well in the lab and still fail in the field (for example on slow phones), or the reverse. INP in particular needs real interactions, so lab reports use Total Blocking Time as a proxy.
When PageSpeed Insights has field data for the URL, the report shows it in a separate Real visitors panel: LCP, INP and CLS at the 75th percentile from the Chrome UX Report. If the page alone has too little traffic, we show the whole site's figures and say so. Many smaller sites have no field data at all; then the report says that rather than guessing.
Use Web Speed Advisor to find and fix causes, and Search Console to confirm the effect on real users. The Core Web Vitals guide explains each metric and its thresholds.
3. How fixes are prioritised
The Lighthouse audits, scores and Core Web Vitals for both devices are combined with the site context you provide (site type and technology stack). An AI model then ranks the issues by likely impact and explains, for each one, the probable cause, why it matters and where the change belongs.
If the AI model is unavailable, the report falls back to rule-based guidance built from the same audits. The report says when this happens, so you always know which kind of guidance you are reading.
The AI can be wrong, especially about your specific codebase. Treat recommendations as a well-informed starting point, not an instruction.
4. Snippets and draft pull requests
For a selected fix you can generate an implementation snippet. For a small set of low-risk change types, Web Speed Advisor can also open a draft pull request in a GitHub repository you connect:
- Font loading:
font-display: swapand font preconnects - Images: dimensions, lazy loading, async decoding, and a preload hint for the hero image
- Scripts:
async/deferand third-party preconnects - Page metadata in plain HTML, React and Next.js
Pull requests are always drafts and are never merged automatically. Each patch must stay within a fixed budget of files and changed lines, or it is not opened. Larger work, such as framework changes, hosting or removing third-party tags, stays as written guidance. Free accounts can create 3 draft PRs a month. More on the workflow: AI snippets and draft PRs.
5. Limits to keep in mind
- One URL at a time. A template issue on one page usually affects similar pages too, but each URL is measured separately.
- Lab variance. Scores move a few points between runs because of network and server conditions. Look at trends and metrics, not one number.
- Public pages only. PageSpeed Insights must be able to load the page, so pages behind a login can't be analysed.
- Review everything. Snippets and draft PRs should go through your normal code review and testing.
Questions about how a result was produced? Contact us.
See it on your own site
Run a free analysis for mobile and desktop and get a prioritised plan.
Analyze a website