What problem does it solve?
Many changes introduce unnoticed performance regressions across pages, APIs, and build processes; this Skill provides repeatable baselining and deterministic comparisons to detect and quantify regressions before they reach users.
Core Features & Use Cases
- Page Performance: Capture Core Web Vitals (LCP, CLS, INP, FCP, TTFB), measure resource sizes, count network requests, and detect render-blocking assets for target URLs.
- API Performance: Hit endpoints repeatedly to collect p50/p95/p99 latencies, response sizes, status code distributions, and run short concurrent-load checks.
- Build Performance: Record cold and incremental build times, hot reload/HMR latency, test suite duration, TypeScript check time, linting, and Docker build timings.
- Before/After Comparison & CI Integration: Save baselines, compare before/after runs, store JSON baselines in the repository, and run comparisons in CI to surface regressions on PRs.
- Use Case: Capture a baseline before a feature branch, run the benchmark again in CI on the PR, and compare deltas to decide whether to accept the change.
Quick Start
Run the benchmark baseline command to capture current page, API, and build metrics for later comparison.