--- ## Cumulative layout shift (CLS) Quick check for Cumulative Layout Shift, a Core Web Vital that measures visual stability. CLS tracks how much the page layout shifts unexpectedly during its lifetime, providing a single score that represents the largest burst of unexpected layout shifts. **Script:** `scripts/CLS.js` **Thresholds:** | Rating | Score | Meaning | |--------|-------|---------| | 🟢 Good | ≤ 0.1 | Stable, minimal shifting | | 🟡 Needs Improvement | ≤ 0.25 | Noticeable shifting | | 🔴 Poor | > 0.25 | Significant layout instability | --- ## Interaction to next paint (INP) Tracks Interaction to Next Paint, a Core Web Vital that measures responsiveness. INP evaluates how quickly a page responds to user interactions throughout the entire page visit, replacing First Input Delay (FID) as a Core Web Vital in March 2024. **Script:** `scripts/INP.js` **Thresholds:** | Rating | Time | Meaning | |--------|------|---------| | 🟢 Good | ≤ 200ms | Responsive, feels instant | | 🟡 Needs Improvement | ≤ 500ms | Noticeable delay | | 🔴 Poor | > 500ms | Slow, frustrating experience | --- ## LCP image entropy Checks if images qualify as LCP candidates based on their entropy (bits per pixel). Since Chrome 112, low-entropy images are ignored for LCP measurement. **Script:** `scripts/LCP-Image-Entropy.js` **Thresholds:** | BPP | Entropy | LCP Eligible | Example | |-----|---------|--------------|---------| | < 0.05 | 🔴 Low | ❌ No | Solid colors, simple gradients, placeholders | | ≥ 0.05 | 🟢 Normal | ✅ Yes | Photos, complex graphics | --- ## LCP subparts Breaks down Largest Contentful Paint into its four phases to identify optimization opportunities. Understanding which phase is slowest helps you focus your optimization efforts where they'll have the most impact. Based on the Web Vitals Chrome Extension. **Script:** `scripts/LCP-Subparts.js` --- ## LCP trail Tracks every LCP candidate element during page load and highlights each one with a distinct pastel-colored dashed outline, so you can see the full trail from first candidate to final LCP. **Script:** `scripts/LCP-Trail.js` --- ## LCP video candidate Detects whether the LCP element is a