@@ -12,7 +12,7 @@ JavaScript snippets for measuring web performance in Chrome DevTools. Execute wi
1212
1313- ` scripts/CLS.js ` — Cumulative Layout Shift (CLS)
1414- ` scripts/INP.js ` — Interaction to Next Paint (INP)
15- - ` scripts/LCP-Sub-Parts .js ` — LCP Sub-Parts
15+ - ` scripts/LCP-Subparts .js ` — LCP Subparts
1616- ` scripts/LCP-Trail.js ` — LCP Trail
1717- ` scripts/LCP-Video-Candidate.js ` — LCP Video Candidate
1818- ` scripts/LCP.js ` — Largest Contentful Paint (LCP)
@@ -23,7 +23,7 @@ Descriptions, thresholds, and return schemas: `references/snippets.md`, `referen
2323
2424Scripts fall into two execution patterns:
2525
26- ### Synchronous (LCP, CLS, LCP-Sub-Parts , LCP-Trail, LCP-Video-Candidate)
26+ ### Synchronous (LCP, CLS, LCP-Subparts , LCP-Trail, LCP-Video-Candidate)
2727
2828Run via ` evaluate_script ` and return structured JSON immediately from buffered performance data. The page must have already loaded.
2929
@@ -97,7 +97,7 @@ Use this decision tree to automatically run follow-up snippets based on results:
9797
9898### After LCP.js
9999
100- - ** If LCP > 2.5s** → Run ** LCP-Sub-Parts .js** to diagnose which phase is slow
100+ - ** If LCP > 2.5s** → Run ** LCP-Subparts .js** to diagnose which phase is slow
101101- ** If LCP > 4.0s (poor)** → Run full LCP deep dive workflow
102102- ** If LCP candidate is a video** → Run ** LCP-Video-Candidate.js**
103103- ** Always run** → ** LCP-Trail.js** to understand candidate evolution
@@ -136,7 +136,7 @@ Use this decision tree to automatically run follow-up snippets based on results:
136136
137137When a script returns ` status: "error" ` :
138138
139- - ** LCP/CLS/LCP-Sub-Parts /LCP-Trail** → The page may not have finished loading. Ask the user to wait for full load or reload, then re-run the script.
139+ - ** LCP/CLS/LCP-Subparts /LCP-Trail** → The page may not have finished loading. Ask the user to wait for full load or reload, then re-run the script.
140140- ** INP** (` getINP() ` returns error) → No interactions have been recorded yet. Remind the user to interact with the page, then call ` getINP() ` again.
141141- ** LCP-Video-Candidate** → No LCP entries found; see LCP error recovery above.
142142
@@ -149,4 +149,4 @@ window.__cwvHighlight = false;
149149// then run any LCP script
150150```
151151
152- Scripts that support this flag: ` LCP.js ` , ` LCP-Sub-Parts .js ` , ` LCP-Trail.js ` .
152+ Scripts that support this flag: ` LCP.js ` , ` LCP-Subparts .js ` , ` LCP-Trail.js ` .
0 commit comments