How to Test Website Speed and Improve Core Web Vitals
Core Web Vitals are three metrics that show how visitors experience a page. LCP measures the time from the start of navigation until the largest visible content element appears: an image, a video or a block of text. INP assesses page responsiveness by the delay between clicks, taps or keyboard input and the next frame. CLS shows how much elements shift unexpectedly while the page is being viewed.
Google PageSpeed Insights combines two kinds of measurement. Field data is collected from real visitors. The Lighthouse lab test loads a given page under controlled conditions and helps you find the cause of a delay.
How to test website speed in PageSpeed Insights
For your first test, choose a page where a delay would get in the visitor’s way. In an online shop, this could be the page of a popular product. On a services website, a page with a booking form will do.
- Paste the full URL into PageSpeed Insights and open the mobile report. The desktop result is on the neighbouring tab. PageSpeed Insights
- Check what is selected in the top block with visitor data. A popular website may have statistics for the domain as a whole, even when there are few observations for a particular product page.
- Scroll down to the “Diagnose performance issues” block. Here Lighthouse has tested exactly the URL you entered. Save the link to the report together with the date and the device type.
The top three frames of the collage come from the same report. The chart at the bottom shows a separate, illustrative example of optimising a product page.

How to read PageSpeed Insights field data
Field data comes from the Chrome User Experience Report (CrUX). These are statistics for the last 28 days, updated daily. One visitor has a slow connection, another already has some files saved in the browser cache from a previous visit. Both cases end up in the report. PageSpeed Insights documentation
Let’s look at the toggle. “This URL” means there was enough data for the specific address. “Origin” combines pages with the same protocol, domain name and port. A subdomain will have its own statistics if there are enough observations for it.
When a customer complains about one product page, the origin summary tells you little about its speed. The same applies to a URL that has no field data yet. Open the product page on a phone and repeat the Lighthouse test on two neighbouring products. If only one photo is slow, check the file and the gallery of that product page. If the delay repeats on all three, look into the shared template.
In the first screenshot, the page itself has an LCP of 1.2 seconds, an INP of 112 milliseconds and a CLS of 0. Next to them is the “Passed” mark. Click “Expand view” by the coloured bar. It shows what share of measurements fell into each range, including how many loads were slow even with a good overall assessment.
What the Lighthouse score and metrics mean
Lighthouse opened the page once with the specified device and network settings. The test conditions are listed below the metrics block. The filmstrip shows what managed to appear on the screen while the test was running.
The second screenshot shows a performance score of 94, with a lab LCP of 2.3 seconds. The field value of 1.2 seconds was collected from visitors over 28 days. To assess a fix straight after release, compare mobile tests before and after with identical settings. The effect for visitors will become visible once new field data accumulates. How Lighthouse calculates the score
Three lines in the report help you read the filmstrip.
- FCP is the time until the first visible text or image. FCP in Lighthouse
- LCP is the time until the largest visible element. In the example, FCP and LCP are both rounded to 2.3 seconds. The colours differ because the thresholds differ.
- Speed Index shows how quickly the screen as a whole filled with content. The filmstrip below the metrics shows which part of the screen appeared late. Speed Index in Lighthouse
TBT is the total blocking time during loading. For every task that occupies the browser’s main thread for longer than 50 ms within the measurement window, Lighthouse adds up the time above that threshold. In this test, the total came to 90 ms. While the browser is busy with such a task, handling a tap may be delayed. But Lighthouse did not test a filter that the customer opens after the page has loaded. You can record its response in Chrome DevTools, the browser’s built-in developer tools. Total Blocking Time
How to read PageSpeed Insights recommendations
Under the filmstrip, select LCP in the “Show audits relevant to” line and expand the item you are interested in. For the photo of the Palace Bridge, Lighthouse shows a size of 148.1 KiB and potential savings of 128.3 KiB. For the whole group of images, the savings are larger: 471.2 KiB. If a developer asks how many seconds this will save on the first screen, these lines do not answer that. KiB measure the amount of data transferred. How Lighthouse assesses image size
Before setting a task to “compress all images”, open “LCP breakdown”. In the Wikipedia example, Lighthouse measured a paragraph of text. You could easily make the page tens of kilobytes lighter, and the first sentence would appear at the same moment as before. To make the text appear sooner, find out when the browser received it and what was holding up rendering. Also check the hints about requests that delay rendering. Their estimates in milliseconds cannot simply be added together, because several audits may describe the same stretch of waiting. LCP breakdown
What LCP, INP and CLS mean in Core Web Vitals
The speed of the first screen, the response to a tap and layout shifts are measured separately. Let’s see which metric has crossed its threshold and where to look for the cause.
| Metric | What it shows | Good value | What to check first |
|---|---|---|---|
| LCP | Time until the largest visible image, video or block of text appears. | ≤ 2.5 s | Which element was measured, and how long it took to receive the page HTML, load the resource and render it. |
| INP | How quickly the next frame appears on screen after a click, tap or keyboard input. | ≤ 200 ms | How the page responds when a menu is opened, a filter is selected or text is typed into a field. |
| CLS | How noticeably content shifts unexpectedly. The metric has no unit. | ≤ 0.1 | Whether space is reserved for a photo, banner, widget and text after a font swap. |
For field assessment, Google uses the 75th percentile (p75) and calculates it separately for mobile devices and desktops. In our mobile report, LCP under this rule is 1.2 seconds. This means that in roughly three quarters of the mobile loads counted, the largest element appeared in this time or faster. Core Web Vitals thresholds on web.dev
Google takes Core Web Vitals into account in ranking. Good metrics alone do not guarantee high positions. Google Search help on page experience
How to speed up a website based on the test results
How to improve LCP if the first screen loads slowly
In Chrome, open the page and choose “More tools” → “Developer tools”. On the Performance tab, click Record and reload. Record the reload with screenshots, then open the LCP breakdown in the Insights panel. Find the frame in which the element appears. This is your starting point for the analysis. Recording load performance in Chrome DevTools
The bottom chart shows an illustrative product page. The main photo appears after 4.4 seconds. The download takes one second, but another 2.4 seconds pass between the first byte of HTML and the start of the request. Why so long? The photo’s address only becomes known after the gallery starts. When it was added to the source HTML, the wait dropped to 0.3 seconds. With the same file size and the same duration for the other stages, the photo appeared after 2.3 seconds.
On your page, a different stage may take the longest. For a photo, separate the wait for the server response, the delay before the image request, the file transfer and the wait for it to appear on screen. Your first fix depends on this. Optimising LCP on web.dev
- The browser waits a long time for the first byte of HTML. Compare the time spent on redirects, the connection and the server response.
- The HTML has arrived, but the photo request starts late. Check whether the first image has its address in the source HTML and whether lazy loading is switched on for it. The other gallery frames can load as needed.
- The file itself takes a long time to transfer. Find out which version of the photo the phone downloads. Sometimes a narrow screen receives the same large original as a desktop. Compare WebP and AVIF versions. Choose a format and size at which the photo is sharp enough and transfers faster.
- The file has downloaded, but the screenshots are still blank. Check whether the gallery hides the image until its script runs. If the largest element is text, check whether it appears while the web font is loading. If a fallback font is shown, it is also worth checking line breaks after the swap.
What to check if INP is high
A customer opened the catalogue and immediately tapped “Filters”. The first time, the panel appeared with a delay; the second time, it opened quickly. In this situation, start recording while the catalogue is still loading. If every size selection lags, recording on a page that is already open is enough.
On the Performance tab, click Record, repeat the action and stop the recording. Find the tap on the Interactions track. It has three parts. Interactions track in Chrome DevTools
- Input delay. The tap has happened, but the handler has not started yet. The Main track shows what the browser was busy with at that moment.
- Processing. Time is spent inside the handler. For a filter, this could be recalculating options and updating the product list.
- Presenting the next frame. The code has finished, and the browser still has to display the changes. A long delay here is a reason to check how many elements had to be laid out and painted again.
Sometimes the button responds quickly, but the product list changes two seconds later. Look at the filter request on the Network tab. It may be waiting a long time for a response, even though the browser showed the loading indicator straight away. These situations need a separate check of how long the request takes. If, however, the indicator appears late, try showing it before secondary calculations and record again. Optimising INP on web.dev
How to reduce CLS and stop layout shifts
The “Submit” button is already visible, but a banner appears above the form and the button moves down. On a phone, this kind of shift is especially noticeable. Specify image dimensions in the HTML or set aspect ratios in CSS, the page’s styles. Reserve space in advance for a banner and a map too. The moment of the shift is visible on the Layout shifts track in Chrome DevTools. Optimising CLS on web.dev
Not every shift is visible on reload. Record scrolling down to the block a visitor complained about. For example, reviews load at the bottom and push down a link the visitor was about to tap.
After clicking the marked shift, go back one frame in the recording. The button that moved shows where the person noticed the problem. The cause is often higher up, where a block grew or an insertion appeared at that moment. How to view layout shifts in Chrome DevTools
How to check server response time and caching
When even the beginning of the document takes a long time to appear on several pages, look at TTFB, the time to the first byte of the response. When a page is opened, the wait can include redirects, establishing the connection and server processing. To start with, compare an old link with a redirect and the final URL that opens the same page. TTFB on web.dev
In Chrome, go to the Network tab, reload the page and use the Doc filter to find the main HTML document. Open Timing. If the connection stage itself took a long time, compare results from different networks or regions. If the time goes into Waiting (TTFB), match the request timestamp with the server log. The browser sees the whole wait for a response, while in the log a developer can see separately how long building the page, the database query and the call to an external service took. Request timing in Chrome DevTools
What to do next depends on which response you had to wait for. When the server rebuilds a public page for every visitor, check whether ready-made HTML can be served from the cache. For the basket, the personal account and pages with personal prices, the rules must take the specific customer into account. A page with one customer’s data must never reach another.
If images, CSS or fonts were delayed, check how these files are cached. For a distant region, delivery from the nearest node of a CDN, a content delivery network, may help. Before changing your hosting plan, compare file transfer times with and without the CDN on the same URLs. The Moscow City Guide SEO case study includes work on caching and image delivery.
If a Yandex Metrica tag is already installed on the site, open the “Page load time” report. It lets you compare loading stages by page and by audience segment, for example by browser or region. The metrics in this report help you test a hypothesis about a connection or response delay. The LCP, INP and CLS thresholds apply to the corresponding Google metrics. Yandex Metrica help
Which pages to speed up first
In Google Search Console, the website owner’s dashboard, open the Core Web Vitals report, select mobile devices and the issue you need. One group may contain both categories and product pages. Take one URL of each type and find a similar fast page to compare it with. This makes it easier to see the difference.
Start with the delay that many people encounter on their way to an order or an enquiry. Does the filter freeze in all popular categories? Repeat selecting one option in a short and a long product list. If the delay only occurs in the long list, tell the developer how many products it contained.
What to include in a task for the developer
The task needs the URL, a link to the report or the Performance recording, and a way to reproduce the delay. For the illustrative product page from the chart, it could read like this.
The main photo appears after 4.4 s in the mobile test. The request starts 2.4 s after the first byte of HTML, when the gallery starts. We propose adding the address of the first photo to the source HTML. After the fix, we repeat the test with the same profile and check that the request starts earlier, the photo appears sooner and the gallery still scrolls.
For a filter, describe the sequence of taps and name the category where it can be reproduced. After the fix, go all the way through to the basket. A filter that opens quickly is little help to a customer if a different model is added to the order after they select a size.
How to compare website speed before and after optimisation
After release, repeat the action on the same URLs with the same device, network and cache settings. For a product page, check that the browser requests the photo earlier, the user sees it sooner and the gallery still scrolls. Take, for example, three measurements before and three after the fix. In each set of three, sort the values and take the one in the middle. Compare these two values, the medians before and after. If the results vary a lot between runs, increase the number of repeats and check the test conditions.
Why is the test already better while Search Console shows no change? Note the release date. The rolling 28-day window still contains visits to the old version, so the figures change gradually. If the issue appeared in the Search Console report, click “Start tracking” after fixing it. Google will monitor the group of pages for 28 days. If the delay persists, go back to a few high-traffic URLs from the group. The fix may have reached ordinary product pages, while products with video still use the old version of the gallery. Validating fixes in Search Console
Related articles
We will respond within a working day.