Performance Optimization
AvanzadadevelopmentContexto mínimo: 64K
Identifies and resolves performance bottlenecks in code and systems. Covers algorithmic complexity analysis, memory optimization, caching strategies, database query tuning, and frontend performance (Core Web Vitals). Follows a measure-first approach.
Casos de uso
- Analyzing algorithmic complexity and suggesting improvements
- Optimizing database queries and indexing
- Reducing frontend bundle size and load times
- Implementing caching strategies (Redis, CDN, memoization)
- Identifying memory leaks and excessive allocations
Prompt de ejemplo
Analyze this code for performance issues and suggest optimizations. Context: - Current performance: [describe metrics, e.g., "API responds in 2s, target is 200ms"] - Scale: [e.g., "10k requests/min", "1M rows in table"] - Constraints: [e.g., "cannot change the database schema", "must support IE11"] Code: ``` [paste code here] ``` Please provide: 1. Identified bottlenecks with complexity analysis 2. Prioritized optimization suggestions (highest impact first) 3. Optimized code with before/after comparison 4. Measurement approach to verify improvements 5. Trade-offs of each optimization (memory vs speed, complexity vs performance)
Modelos recomendados
Herramientas compatibles
claude-codecursorgithub-copilotkiroany
Modalidades
Entrada: code, text
→Salida: code, text
Skills relacionadas
Autor
OpenModels Community