Performance Analysis

Performance profiling, benchmarking, and optimization. Use when: slow operations, regressions, memory pressure, release validation. Skip when: early prototyping, documentation, configuration-only changes.

ruvnet Updated

File contents

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

  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

ruvnet/claude-code-flow/tree/main/v3/@claude-flow/codex/.agents/skills/performance-analysis commit e47cd6badf

Frequently asked questions

npx skillmds@latest add ruvnet/performance-analysis-2