Performance Analysis Skill
Purpose
Measure before optimizing and preserve reproducible benchmark evidence.
Commands
Run Benchmark Suite
npx @claude-flow/cli performance benchmark --suite all
Profile Code
npx @claude-flow/cli performance profile --target ./src
Best Practices
- Capture a baseline before changing code
- Use identical inputs and environments
- Report variance, not only the fastest result
- Re-run correctness tests after optimization