Skip to main content

nds-perf

Stars14
Forks8
UpdatedJune 12, 2026 at 19:50

Measure real page performance for NDS pages (local builds or remote https URLs) using the repo's calibrated throttled-Chrome harness โ€” LCP, FCP, reveal-gate timing, and with --trace a main-thread breakdown (style/layout/script self-time, culprit script frames, long tasks) โ€” instead of hand-writing a Puppeteer script each time. Builds (if needed), gzip-serves the site like GitHub Pages, drives headless Chrome under slow-4G + 6.6ร— CPU on a mobile viewport, names the actual LCP element, and reports per-run values + median. Use for "measure LCP", "test LCP", "check page speed", "measure performance of <page>", "did this change regress LCP", "what's the LCP on mobile", "measure the live site", "profile the main thread", "what's blocking the main thread", "find long tasks". For the Lighthouse LAB score (the simulated 0โ€“100), see the "Lighthouse lab score" section below โ€” but trust this harness's real numbers over lantern's simulated LCP, which over-estimates ~2ร— on this site.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
3 files
SKILL.md
readonly