| name | perf |
| description | Find and fix performance bottlenecks across frontend, backend, database, and test suites using evidence-first analysis. |
Perf
Use this when apps feel slow, tests are too slow, APIs lag, pages over-render, or CI takes too long.
Workflow
- Define the slow path and measurable baseline.
- Identify where time is spent: network, rendering, compute, DB, bundle, startup, test setup.
- Look for unnecessary work.
- Recommend the highest ROI fixes first.
- Re-measure after changes.
Common checks
- Repeated queries or N+1 calls.
- Large payloads or unnecessary serialization.
- Re-renders and unstable props.
- Missing memoization or caching.
- Slow test bootstrapping and expensive shared fixtures.
- Bundle size and unused client code.
Output format
- Baseline
- Bottlenecks
- Recommended fixes
- Expected impact
- Validation plan