perf-benchmarker
This tool runs performance tests sequentially to avoid noise, enforces minimum durations, and requires metrics in a specific JSON format.
Install
mkdir -p .claude/skills/perf-benchmarker && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/3499" && unzip -o skill.zip -d .claude/skills/perf-benchmarker && rm skill.zipInstalls to .claude/skills/perf-benchmarker
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Use when running performance benchmarks, establishing baselines, or validating regressions with sequential runs. Enforces 60s minimum runs (30s only for binary search) and no parallel benchmarks.Key capabilities
- →Executes sequential benchmarks for latency
- →Enforces minimum run durations
- →Validates regression results
- →Forces metric output in structured JSON
- →Identifies performance anomalies
How it works
Runs command-line tasks in a single-threaded loop, enforcing cooldown and warmup periods to collect statistically significant timing data.
Inputs & outputs
When to use perf-benchmarker
- →Establishing baseline performance metrics
- →Validating code performance regressions
- →Running sequential API latency tests
- →Verifying system stability under load
About this skill
perf-benchmarker
Run sequential benchmarks with strict duration rules.
Follow docs/perf-requirements.md as the canonical contract.
Required Rules
- Benchmarks MUST run sequentially (never parallel).
- Minimum duration: 60s per run (30s only for binary search).
- Warmup: 10s minimum before measurement.
- Re-run anomalies.
Output Format
command: <benchmark command>
duration: <seconds>
warmup: <seconds>
results: <metrics summary>
notes: <anomalies or reruns>
Output Contract
Benchmarks MUST emit a JSON metrics block between markers:
PERF_METRICS_START
{"scenarios":{"low":{"latency_ms":120},"high":{"latency_ms":450}}}
PERF_METRICS_END
Constraints
- No short runs unless binary-search phase.
- Do not change code while benchmarking.
When not to use it
- →When parallel benchmarks are needed
- →For short, low-overhead code blocks
Limitations
- →Slow execution due to mandatory 60s minimum run time
- →Incompatible with asynchronous benchmarking tools
How it compares
It prohibits parallel execution and enforces specific output contracts, ensuring that benchmark noise is minimized compared to casual testing.
Compared to similar skills
perf-benchmarker side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| perf-benchmarker (this skill) | 1 | 6mo | No flags | Intermediate |
| chrome-devtools | 41 | 7mo | Review | Intermediate |
| code-coverage-with-gcov | 15 | 4mo | Review | Intermediate |
| angular-best-practices | 21 | 3mo | No flags | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by ComposioHQ
View all by ComposioHQ →You might also like
chrome-devtools
mrgoonie
Browser automation, debugging, and performance analysis using Puppeteer CLI scripts. Use for automating browsers, taking screenshots, analyzing performance, monitoring network traffic, web scraping, form automation, and JavaScript debugging.
code-coverage-with-gcov
gadievron
Add gcov code coverage instrumentation to C/C++ projects
angular-best-practices
sickn33
Angular performance optimization and best practices guide. Use when writing, reviewing, or refactoring Angular code for optimal performance, bundle size, and rendering efficiency.
3d-games
davila7
3D game development principles. Rendering, shaders, physics, cameras.
perf-lighthouse
tech-leads-club
Run Lighthouse audits locally via CLI or Node API, parse and interpret reports, set performance budgets. Use when measuring site performance, understanding Lighthouse scores, setting up budgets, or integrating audits into CI. Triggers on: lighthouse, run lighthouse, lighthouse score, performance audit, performance budget.
react-best-practices
redpanda-data
Client-side React performance optimization patterns.