benchmark

Measures web, API, and build performance metrics and compares them against stored baselines.

2|Updated Mar 29, 2015
One-click install
npx skills add https://github.com/ovisan/dotfiles --skill benchmark-ovisan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: benchmark
Source: https://github.com/ovisan/dotfiles/tree/main/.agents/skills/benchmark
Command: npx skills add https://github.com/ovisan/dotfiles --skill benchmark-ovisan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams often ship changes without knowing their performance impact, discovering regressions only after users complain. This Skill establishes measurable performance baselines and detects regressions before and after PRs. ## Core Features & Use Cases - Page Performance Measurement: Captures Core Web Vitals (LCP, CLS, INP, FCP, TTFB), resource sizes, and request counts via browser automation. - API and Build Benchmarking: Measures endpoint latency percentiles (p50, p95, p99) under load, plus cold builds, HMR, test, lint, and TypeScript check durations. - Before/After Comparison: Saves baselines as git-tracked JSON in .ecc/benchmarks/ and produces delta tables flagging regressions. - Use Case: Run a baseline before a refactor, then compare after merging to confirm bundle size and LCP did not regress. ## Quick Start Run a performance baseline on my app's main pages and API endpoints, then compare the results after my current changes.

Frequently Asked Questions about benchmark

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I measure Core Web Vitals for my website?

Navigate to each target URL in a real browser and record LCP, CLS, INP, FCP, and TTFB against standard targets like LCP under 2.5s and CLS under 0.1. Also track page weight, JS bundle size, and render-blocking resources.

How to detect performance regressions before merging a PR?

Save a baseline of current metrics, apply your changes, then run a comparison that outputs a delta table marking each metric as better or worse. Integrating the comparison into CI catches regressions on every pull request.

What metrics should I track for API performance testing?

Track p50, p95, and p99 latency across repeated requests, plus response sizes and status codes. Testing with concurrent requests, such as 10 parallel calls, reveals behavior under load against SLA targets.

Can benchmark baselines be shared across a team?

Yes, baselines are stored as JSON files in a `.ecc/benchmarks/` directory that is git-tracked. Committing these files lets every team member and CI pipeline compare against the same reference numbers.

When should I not rely on synthetic benchmarks?

Synthetic benchmarks miss real-user variability like device diversity and network conditions. Pair them with post-deploy monitoring such as canary watching to catch issues that only appear in production traffic.