Coding

Performance Optimization Audit

✦ ChatGPT 🔥 86 punteggio tendenza 👁 0 utilizzi
#performance#optimization#profiling
Categoria
Coding
Piattaforma
ChatGPT
Punteggio Tendenza
86/100
Utilizzi Totali
0
Modello di 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.
Sfoglia altri prompt Coding