# Benchmark Runner

> Run performance benchmarks with criterion. Compare against baselines and profile hotspots.

- Skill: `nwiizo/benchmark-runner` (Agent Skill)
- Install (CLI): `npx skillmds@latest add nwiizo/benchmark-runner`
- Raw SKILL.md: https://api.skillmd.com/api/skills/nwiizo/benchmark-runner/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: nwiizo (https://skillmd.com/u/nwiizo)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/nwiizo/benchmark-runner

---


Run performance benchmarks on ccswarm.

## Run Benchmarks

```bash
cargo build --release --workspace

# All benchmarks
cargo bench --workspace

# Specific benchmark
cargo bench -- "$ARGUMENTS"

# Save baseline for comparison
cargo bench -- --save-baseline before
# ... make changes ...
cargo bench -- --baseline before
```

## Profile

```bash
cargo flamegraph --bench ${1:-orchestrator_bench}
```

## Key Metrics

| Area | Target |
|------|--------|
| Task delegation | < 1ms |
| Full workflow | < 100ms |
| Memory per agent | < 10MB |
| Variance | < 20% |

Results in `target/criterion/report/index.html`.

