| name | performance-analysis |
| description | Performance analysis patterns for runtime complexity, memory usage, cost optimization, and scalability assessment. Use for Big O analysis, profiling, caching strategies, and cloud cost modeling. |
| user-invocable | true |
| argument-hint | [component, query, or endpoint to profile] |
Performance Analysis & Optimization
Provides performance analysis patterns for runtime, memory, cost optimization, and scalability assessment across code changes and architecture decisions.
Description
This skill teaches performance agents how to analyze code for runtime complexity, memory usage, scalability bottlenecks, and cost implications. It covers Big O analysis, profiling techniques, caching strategies, database optimization, and cloud cost modeling.
When to Use
- Analyzing algorithm complexity and efficiency
- Reviewing database queries and indexes
- Evaluating caching strategies
- Assessing API response times and throughput
- Analyzing memory usage and leaks
- Estimating cloud infrastructure costs
- Planning for scale (10x, 100x traffic growth)
When NOT to Use
- Do not use for functional correctness or business logic review — use the reviewer agent instead.
- Do not use for security vulnerability analysis — use the
security-review skill instead.
Entry Points
Trigger Phrases: "performance review", "optimize this code", "check scalability", "analyze runtime", "memory usage", "cost estimate"