Web performance

Measure and improve Core Web Vitals

Core Web Vitals describe real user experience, but no single lab score captures every device, network or interaction. Use field data to understand outcomes, controlled tests to diagnose causes and repeatable release checks to prevent regressions.

Know what each metric measures

Largest Contentful Paint (LCP) tracks the main content's render time, Interaction to Next Paint (INP) summarizes responsiveness across interactions, and Cumulative Layout Shift (CLS) measures unexpected visual movement. Google's current good thresholds are LCP at or below 2.5 seconds, INP at or below 200 milliseconds and CLS at or below 0.1 at the 75th percentile.

  • Identify the largest content element and its resource path
  • Measure representative interactions, not just page load
  • Trace layout shifts to their source elements

Use field and laboratory data for different jobs

CrUX and real-user monitoring reveal the distribution of experiences across eligible users; Lighthouse and browser traces help isolate causes under controlled conditions. A strong lab run does not prove that field performance is good for every visitor.

  • Check whether field data is available for the page or origin
  • Segment by device and connection where data permits
  • Reproduce poor cases in a controlled browser trace

Fix the measured bottleneck

For LCP, inspect server response, discovery and priority of the main resource. For INP, inspect long tasks and event-handler work. For CLS, reserve dimensions and avoid inserting content above what the visitor is reading.

  • Record the element or interaction responsible
  • Change one causal factor at a time
  • Retest under a comparable environment

Make performance a release practice

Set budgets that match actual user journeys, retain representative traces and check field trends after releases. Attribute changes carefully: seasonality, traffic mix and third-party services can move field metrics independently of a code change.

  • Choose a representative route and device profile
  • Store repeatable baseline results with the release
  • Review field trends and deployment changes together

Questions to keep in view

Does passing Lighthouse mean Core Web Vitals pass?

Not necessarily. Lighthouse is a controlled lab test; field assessment uses real-user data at the 75th percentile when available. Use lab results for diagnosis and field results for observed user experience.

What is the current good INP threshold?

Google defines good INP as 200 milliseconds or less at the 75th percentile. Recheck the current documentation as thresholds and measurement guidance can change.