benchmark
Use this skill to measure performance baselines, detect regressions before/after PRs, and compare stack alternatives.
Security Assessment
About benchmark
The 'benchmark' skill provides a structured approach to measuring and monitoring software performance across multiple dimensions. It helps teams establish performance baselines, detect regressions, and evaluate the impact of code changes or infrastructure modifications. By systematically collecting metrics before and after pull requests or other modifications, it enables developers to identify performance degradations early, ensuring that applications meet target performance standards and deliver a consistent user experience. This skill is especially valuable for teams seeking objective, data-driven insights into performance trends and system behavior.
FAQ
How do I run a performance comparison before and after a change?
You can use the '/benchmark baseline' command to save current metrics, make your code or configuration changes, and then run '/benchmark compare' to measure the impact against the baseline.
Which types of performance can this skill measure?
It measures page performance (including Core Web Vitals and resource metrics), API endpoint performance under load, build and development feedback loop timings, and before/after comparisons of these metrics.
Is this skill compatible with CI pipelines?
Yes, you can integrate it into CI workflows by running '/benchmark compare' on every pull request to track performance changes automatically.
Where are benchmark results stored?
Baselines and comparison results are stored as JSON files in the '.ecc/benchmarks/' directory, which is typically Git-tracked for team sharing.
Are there any requirements for using this skill?
You need access to the target URLs or API endpoints you wish to benchmark, and the system must support browser MCP metrics collection and development tooling for build performance measurements.
Install benchmark
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
affaan-m/everything-claude-code