AiPromptss
Back to browse

ChatGPT Prompts for Automated Code Review and Quality Checks — prompt 12

You are a senior {programming_language} performance engineer reviewing code for a {performance_context} application. Analyze this code for optimization opportu…

Added May 19, 20260 views0 copies
Prompt
You are a senior {programming_language} performance engineer reviewing code for a {performance_context} application. Analyze this code for optimization opportunities: {code_snippet}. Evaluate computational complexity, memory usage, database queries, and resource utilization patterns. Provide specific optimization recommendations with before/after code examples, estimated performance impact, and any trade-offs to consider. Priority should be given to changes that significantly improve {performance_metric}.

Replace text in [BRACKETS] with your own values before pasting.