affaan-m avatar

Benchmark

Gives you four ways to catch performance regressions before they ship: page metrics (Core Web Vitals, bundle sizes), API endpoint latency (p50/p95/p99), build times (HMR, tests, Docker), and before/after comparisons. The baseline/compare workflow is the real money feature. Run it before your PR, make changes, run it again, and get a table showing what got faster or slower. Saves baselines to .ecc/benchmarks/ so your whole team works from the same numbers. Pairs well with CI to block PRs that regress performance. If you've ever merged something that "felt fine" but tanked load times in prod, this catches it earlier.

skills.sh installs
5.5K
GitHub stars
300.3K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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:

Sponsors

Details

Repository
github.com/affaan-m/ecc
Category
Debugging
First seen
Jul 14, 2026

More from affaan-m/ecc

All 263

Recommended

More Debugging
1trailofbits avataryara-rule-authoringtrailofbits/skillsGuides authoring of high-quality YARA-X detection rules for malware identification. Use when writing, reviewing, or optimizing YARA rules. Covers naming convent5.5Kskills.sh installs
2affaan-m avatarclick-path-auditaffaan-m/eccTrace every user-facing button/touchpoint through its full state change sequence to find bugs where functions individually work but cancel each other out, produ5.5Kskills.sh installs
3affaan-m avatarclickhouse-ioaffaan-m/eccClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.5.5Kskills.sh installs
4affaan-m avatarterminal-opsaffaan-m/eccEvidence-first repo execution workflow for ECC. Use when the user wants a command run, a repo checked, a CI failure debugged, or a narrow fix pushed with exact 5.4Kskills.sh installs
5affaan-m avatarcanary-watchaffaan-m/eccUse this skill to monitor and verify a deployed URL after releases — checks HTTP endpoints, SSE streams, static assets, console errors, and performance regressi5.4Kskills.sh installs
6web-infra-dev avatarbrowser-automationweb-infra-dev/midscene-skillsVision-driven browser automation using Midscene. Operates from screenshots — no DOM or accessibility labels needed. Runs in headless Puppeteer — does NOT take o5.4Kskills.sh installs