Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Establishes performance baselines and compares before-and-after page load, Core Web Vitals, bundle size, and API response times.
Use this skill ↓59% 91%+32 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 13 of 22 without it.
We have two metric JSON snapshot files, `baseline.json` and `candidate.json`. Write the CLI command to execute the project's Python metric comparison script on these files.
Invokes python scripts/compare_metrics.py baseline.json candidate.json
3 of 3 safety checks passed
Benchmarking without a baseline is noise. A benchmark that can't be reproduced is a guess. Every benchmark in this skill produces a number, a method, and a comparison — not an impression.
Performance is a feature. Regressions ship silently. This skill makes regressions visible before they reach users.
Before any optimization or PR review, establish the baseline. Without it, "after" numbers are meaningless.
# Run Lighthouse baseline (3 runs, take median)
npx lighthouse https://your-app.com/key-page \
--output json \
--output-path ./baseline.json \
--chrome-flags="--headless" \
--throttling-method=simulate \
--preset=desktop
# Run 3 times and average — single runs are noisy
for i in 1 2 3; do
npx lighthouse https://your-app.com/key-page \
--output json \
--output-path "./baseline-run-$i.json" \
--chrome-flags="--headless"
done
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.