Performance Optimization
高级development最低上下文: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.
使用场景
- 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
示例提示词
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)
推荐模型
兼容工具
claude-codecursorgithub-copilotkiroany
模态
输入: code, text
→输出: code, text
相关 Skills
作者
OpenModels Community