Performance Optimization
İleridevelopmentEn az 64K bağlam
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.
Kullanım alanları
- 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
Örnek prompt
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)
Önerilen modeller
Uyumlu araçlar
claude-codecursorgithub-copilotkiroany
Modaliteler
Giriş: code, text
→Çıkış: code, text
İlgili Skills
Yazar
OpenModels Community