Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
Performance & resilienceSeniorOccasionalStrategy

Why can lab and field web-performance results disagree, and how should a team use both?

Answer

Lab tests control hardware, network, cache and actions, so they are reproducible and useful before release; field data includes real devices, geography, long tasks, cache states and user behavior. Compare equivalent page and cohort definitions, use lab traces to diagnose regressions seen in field percentiles, and avoid declaring success from a fast synthetic run when a meaningful user segment remains slow.

Strong answer includes

  • explains the populations and controls behind each data source
  • uses field data for outcomes and lab data for diagnosis
  • segments users instead of hiding slow cohorts

Practical example

A synthetic lab test run from a data center with a fast fixed connection reports a 1.2 second LCP, while field data from CrUX shows the 75th percentile LCP for users on 3G connections in a target market is 4.8 seconds; the team uses a throttled lab profile matching that market's real network conditions to reproduce and fix the regression instead of trusting the optimistic lab number.

#frontend-performance#lab-testing#rum#performance-qa

Sources

Web VitalsGoogle · LCP, INP, CLS, lab measurement, field measurement and performance thresholdsGoogle SRE booksGoogle · Reliability, SLOs, monitoring, incidents and resilience