Skip to content
affaan-m avatar

Benchmark

Performance measurement skill that tracks browser Core Web Vitals, API latency, and build times against stored baselines.

CCM score
63 of 100
skills.sh installs
11.1K
GitHub stars
312.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers page performance, API latency, build feedback, and before/after comparison across four modes
  • Measures LCP, CLS, INP, FCP, and TTFB against targets, plus page weight, bundle size, and request counts
  • Tests API endpoints with 100 requests each, reporting p50, p95, and p99 latency under 10 concurrent requests
  • Stores git-tracked baselines in .ecc/benchmarks/ as JSON, and pairs with /canary-watch and /browser-qa in CI

Install

$ npx -y skills add affaan-m/ecc --skill benchmark -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Benchmark — Performance Baseline & Regression Detection

When to Use

  • Before and after a PR to measure performance impact
  • Setting up performance baselines for a project
  • When users report "it feels slow"
  • Before a launch — ensure you meet performance targets
  • Comparing your stack against alternatives

How It Works

Mode 1: Page Performance

Measures real browser metrics via browser MCP:

1. Navigate to each target URL
2. Measure Core Web Vitals:
   - LCP (Largest Contentful Paint) — target < 2.5s
   - CLS (Cumulative Layout Shift) — target < 0.1
   - INP (Interaction to Next Paint) — target < 200ms
   - FCP (First Contentful Paint) — target < 1.8s
   - TTFB (Time to First Byte) — target < 800ms
3. Measure resource sizes:
   - Total page weight (target < 1MB)
   - JS bundle size (target < 200KB gzipped)
   - CSS size
   - Image weight
   - Third-party script weight
4. Count network requests
5. Check for render-blocking resources

Mode 2: API Performance

Benchmarks API endpoints:

Details

Repository
github.com/affaan-m/ecc
Categories
Debugging, Browser Automation & Scraping, Testing & QA
First seen
Jul 14, 2026

Questions

What does the benchmark skill do for Claude Code?

The benchmark skill measures performance baselines and detects regressions across browser Core Web Vitals, API endpoint latency percentiles, and build and test times. It compares before and after a change and stores the baselines as git-tracked JSON in .ecc/benchmarks.

How do I install the benchmark skill?

Run npx -y skills add affaan-m/ecc --skill benchmark -y in your project to install it. Once installed, you can run /benchmark baseline before a change and /benchmark compare afterward to see the impact.

Which debugging skills is benchmark compared against?

Benchmark ranks in the top 50 of the Debugging category on Claude Marketplaces. Other skills in that category include diagnosing-bugs, azure-messaging, safe-debug, systematic-debugging and sentry-cli, while benchmark focuses on performance measurement and regression detection.

When should I use the benchmark skill?

Use it before and after a pull request to measure its performance impact, when users report that the app feels slow, or before a launch to confirm you meet performance targets. It can also run /benchmark compare on every PR in CI.

More from affaan-m/ecc

All 257

Similar to Benchmark

More Debugging