Use the prompt
Provide measurements from the slow operation and describe the workload that produced them. Compare the proposed fix under the same conditions before deciding whether it helped.
Pinpoint performance bottlenecks through profiling analysis. Know exactly what to optimize.
For GitLab Duo
Performance issue:
Slow operation: [DESCRIBE WHAT'S SLOW]
Metrics: [PASTE PROFILING DATA]
Code: [PASTE RELEVANT CODE]
Help me:
1. Identify the bottleneck
2. Explain why it's slow
3. Suggest optimizations
4. Estimate improvement potentialProvide measurements from the slow operation and describe the workload that produced them. Compare the proposed fix under the same conditions before deciding whether it helped.