Use the prompt
Include the diff and any measurements from the affected path. Duo can identify likely costs, while profiling helps establish whether they matter for your workload.
Assess how proposed changes will affect system performance. Catch complexity issues and bottlenecks early.
For GitLab Duo
Analyze the performance impact of this MR:
1. Are there any performance concerns?
2. What's the computational complexity?
3. Are there more efficient approaches?
4. What's the memory footprint?
[MR URL or paste code]Include the diff and any measurements from the affected path. Duo can identify likely costs, while profiling helps establish whether they matter for your workload.