Chapter 60: Core Web Vitals & Performance Engineering

Lab Data (Lighthouse) vs Field Data (CrUX)

**Part 12: Performance & Optimization** — Chapter 60: Core Web Vitals for HTML Developers

LEARNING OBJECTIVES
  • Understand the fundamental difference between Synthetic Lab Testing and Field Data.
  • Query the Chrome User Experience Report (CrUX) API for 28-day rolling production metrics.
  • Explain why a 100/100 Lighthouse score can still fail Google's Core Web Vitals assessment in search rankings.
  • Correlate laboratory diagnostics with real-user 75th-percentile field performance.
🎬 INTERACTIVE VISUAL PIPELINE Core Architecture Simulation
🌐
1. Input
Directives & Tags
⚙️
2. Parse
Tokenizer & AST
🌳
3. Layout
Box Model & Flow
🎨
4. Render
GPU Paint & Composite
PHASE 1: INPUT & DIRECTIVES
Browser receives declarative markup stream, parsing tag tokens and initializing component state.

📖 Lab vs Field Comparison Matrix

Dimension Lab Data (Lighthouse) Field Data (CrUX / RUM)
Environment Controlled synthetic test (Fixed CPU/Network) Millions of real users, devices, batteries, connections
User Interaction Automated script (Page load only) Real human clicks, scrolls, typing over entire session
Metrics Captured TBT, FCP, LCP, Speed Index, CLS LCP, INP, CLS, TTFB, FCP
SEO Impact Diagnostics only (Does NOT affect search ranking) Affects Google Search Ranking Signals
Update Cadence Instantaneous per test run 28-day rolling average aggregation

📌 Key Takeaways

  • Google uses Field Data (CrUX at the 75th percentile) for ranking signals, not synthetic Lighthouse scores.
  • Lab tests help reproduce and debug issues, but Field Data reflects actual user satisfaction.
  • --

❓ Knowledge Check

1. Which of the following is correct?

2. Which of the following is correct?