الانتقال إلى المحتوى
FrontendWeb Performance· 7 دقائق للقراءة

A 100 Lighthouse Score Doesn't Mean You Pass Core Web Vitals

Lighthouse tests one load on one simulated phone; Core Web Vitals are judged on real visits at the 75th percentile.

ReadIn

مقال كل يوم يفرق معاك

21 نوفمبر 2026
  • كاتب موثّق
محتويات المقال

A product page with a filter button and a promo that appears once the visitor scrolls. We ran Lighthouse 13.6.0 from its command line with the default mobile settings against headless Chromium 156: Performance 100, CLS 0, Total Blocking Time 0 ms. Then a Playwright script loaded the same page in the same browser, scrolled once and tapped the filter. CLS reached 0.20, and that one tap took 304 ms from input to the next frame. Both values are in the "needs improvement" band. They're still lab numbers from a scripted visit, not field data, but they're exactly the kind of thing field data records and a page load never triggers.

The common misconception

The belief: a perfect Lighthouse score means the site passes Core Web Vitals for real users.

It's an understandable mix-up. Lighthouse reports LCP and CLS by name, uses the same green, orange and red bands, and PageSpeed Insights shows its score right below the field assessment. The score is also the one number you control: it runs in CI, it changes the minute you deploy, and it rewards real fixes. For a cold first load on a mid-range phone, it is a fair approximation. Core Web Vitals just aren't measured on that load.

What actually happens

Core Web Vitals are a verdict on real visits

web.dev defines three metrics and a "good" target for each, judged at the 75th percentile of page loads, segmented across mobile and desktop. A page passes when all three are good at that percentile. PageSpeed Insights takes these numbers from the (CrUX), covering the previous 28 days, and its assessment uses only LCP and CLS when there isn't enough INP data.

MetricWhat it measuresGoodPoor
LCPWhen the largest image or text block in view is rendered2.5 s or lessOver 4 s
INPThe slowest interaction, from input to the next frame, ignoring outliers200 ms or lessOver 500 ms
CLSThe largest burst of unexpected layout shifts0.1 or lessOver 0.25

Anything between the two columns needs improvement. Why the 75th percentile? The thresholds article explains it's high enough that most visits meet the target, without letting a few outliers decide. The same thresholds apply to mobile and desktop, and most were set by what mobile can achieve.

The Lighthouse score is a different formula

The Performance score is a weighted average of five lab metrics. In Lighthouse 13.6.0, the version we ran: Total Blocking Time 30%, LCP 25%, CLS 25%, First Contentful Paint 10% and Speed Index 10%. Two of the five aren't Core Web Vitals, and INP isn't there at all. The scoring docs even call a 100 "extremely challenging to achieve and not expected", and say much of the run-to-run variability doesn't come from Lighthouse itself.

What a single load can't see

Interactions. web.dev is explicit: tools that load a page in a simulated environment without a user can't measure INP, because there is no input. Total Blocking Time, built from long tasks during load, is the lab proxy, and web.dev warns that a page can have poor INP despite a very good TBT. Our filter button did nothing during load, so TBT stayed at 0.

Shifts after load. CLS in the lab only counts shifts above the fold during load. In the field, it covers unexpected shifts during the whole life of the page, including the promo that appears after a scroll.

Your users' conditions. The lab is one device on one network, usually with a cold cache. PageSpeed Insights simulates a mid-tier phone on a mobile network. Real visitors bring older phones, warm caches, other viewports and even a different LCP element.

Which numbers to trust for what

web.dev's advice is simple: when you have both, field data decides what to prioritize, and the lab is for debugging and for testing changes before they ship. A lab run is reproducible, which makes it great for catching regressions in CI. It just answers a different question from the field.

Measure your own users

CrUX only covers public, indexable URLs with enough samples from opted-in Chrome users, so a new page, a quiet one or anything behind a login may have no field data at all. web.dev recommends collecting your own field data anyway, because it's more actionable than CrUX alone. The web-vitals library measures the three metrics with standard browser APIs, the way Chrome does, and reports CLS and INP when the page is hidden. A hand-rolled snapshot at load misses most of it:

JavaScript vitals.js
let cls = 0;new PerformanceObserver((list) => {  for (const shift of list.getEntries()) cls += shift.value;}).observe({ type: "layout-shift", buffered: true });addEventListener("load", () => {  // Sent once, at load: no INP, no shifts after load  navigator.sendBeacon("/vitals", JSON.stringify({ cls }));});

On our demo page, the first version would have sent cls: 0. It also sums every shift, while CLS keeps only the largest burst and leaves out shifts right after user input. The library handles those rules, and its rating uses the same thresholds as the table above.

Lighthouse (lab)Core Web Vitals (field)
Who is measuredOne simulated device and networkReal Chrome users on their own devices
InteractionsNone: TBT stands in for INPEvery click, tap and key press feeds INP
CLS windowLoad only, above the foldThe whole life of the page
The verdictA weighted score from 0 to 100LCP, INP and CLS all good at the 75th percentile
Best used forDebugging and catching regressionsDeciding what to fix

How to apply it in your project

  1. Look up the field verdictRun your key URLs through PageSpeed Insights, or open Search Console's Core Web Vitals report, and note which metric fails, on which device type, at the 75th percentile.
  2. Collect your own field dataAdd the web-vitals library, send each metric with the page and device type, and chart the 75th percentile per metric. That covers pages CrUX doesn't, and shows a fix within days.
  3. Reproduce in the labUse the failing metric to pick the lab tool: Lighthouse or the Performance panel for LCP, a recorded interaction for INP, a scroll through the page with layout shift regions on for CLS.
  4. Keep Lighthouse for regressionsRun it in CI with a budget per metric rather than a demand for 100, and treat a drop as a hint to investigate.

Key takeaways

  • Core Web Vitals pass when LCP, INP and CLS are all good at the 75th percentile of real visits.
  • Good means LCP of 2.5 s or less, INP of 200 ms or less and CLS of 0.1 or less.
  • The Lighthouse score weighs five lab metrics, includes TBT and Speed Index, and can't measure INP.
  • A lab load misses interactions, shifts after load and your users' devices, caches and viewports.
  • Prioritize with field data, debug with lab data, and measure your own users with the web-vitals library.

📚 المصادر

  1. Web Vitals — web.dev
  2. Why lab and field data can be different (and what to do about it) — web.dev
  3. How the Core Web Vitals metrics thresholds were defined — web.dev
  4. Lighthouse performance scoring — Chrome for Developers
  5. About PageSpeed Insights — Google for Developers

التعليقات (0)