Coding

Performance Optimization Audit

✦ ChatGPT 🔥 86 pontuação tendência 👁 0 usos
#performance#optimization#profiling
Categoria
Coding
Plataforma
ChatGPT
Pontuação Tendência
86/100
Total de Usos
0
Modelo de Prompt
Audit this code for performance issues: [PASTE CODE OR DESCRIBE THE BOTTLENECK]. Current performance: [METRICS IF KNOWN]. Expected performance target: [DEFINE]. Analyze: 1) Algorithmic complexity — identify O(n²) or worse patterns, 2) Database query efficiency (N+1, missing indexes, over-fetching), 3) Memory allocation patterns and potential leaks, 4) I/O blocking operations that should be async, 5) Caching opportunities, 6) Unnecessary computation or redundant calls. Prioritize fixes by impact. Provide benchmarks before/after for the top recommendations.
Ver mais prompts de Coding