Back to skills

benchmark

testing

Measures web page performance by collecting real PerformanceAPI data from a running browser session. Captures metric baselines before changes, then compares TTFB, FCP, LCP, bundle sizes, and request c

Setup & Installation

npx skills add https://github.com/garrytan/benchmark --skill benchmark
or paste the link and ask your coding assistant to install it
https://github.com/garrytan/benchmark
View on GitHub

What This Skill Does

Measures web page performance by collecting real PerformanceAPI data from a running browser session. Captures metric baselines before changes, then compares TTFB, FCP, LCP, bundle sizes, and request counts after. Flags regressions automatically using percentage and absolute thresholds. Instead of manually comparing Lighthouse screenshots or network tab snapshots across branches, it reads live PerformanceAPI entries, diffs them against a saved baseline, and tells you exactly which metric regressed and by how much.

When to use it

  • Working with benchmark functionality
  • Implementing benchmark features
  • Debugging benchmark related issues