Back to Ruflo

Performance Analysis Skill

v3/@claude-flow/codex/.agents/skills/performance-analysis/SKILL.md

3.32.40503 B
Original Source

Performance Analysis Skill

Purpose

Measure before optimizing and preserve reproducible benchmark evidence.

Commands

Run Benchmark Suite

bash
npx @claude-flow/cli performance benchmark --suite all

Profile Code

bash
npx @claude-flow/cli performance profile --target ./src

Best Practices

  1. Capture a baseline before changing code
  2. Use identical inputs and environments
  3. Report variance, not only the fastest result
  4. Re-run correctness tests after optimization