GitLab Well Architected
Cookbook navigation
Prompts / Explain MR Impact on Performance

Explain MR Impact on Performance

Code ReviewAnalysisCode-ReviewDeveloperPerformanceVerifyBeginner

Assess how proposed changes will affect system performance. Catch complexity issues and bottlenecks early.

For GitLab Duo

prompt

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]

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.