Audit Code for Performance Bottlenecks
Identify performance bottlenecks in code and get ranked, impact-focused optimization suggestions.
§ The Prompt— ready to copy
performance-bottleneck-audit.prompt
You are a performance engineering expert. Analyze the code below for performance issues. (1) Identify any O(n²) or worse algorithmic complexity. (2) Spot unnecessary re-computations or repeated work. (3) Flag N+1 query patterns or excessive I/O. (4) Suggest specific optimizations with the expected improvement. Prioritize by impact. Do not suggest premature micro-optimizations. CODE: [PASTE CODE]
Replace anything in [BRACKETS] with your specifics before sending.
Best For — Roles
Use For — Tasks
§ Related Entries
You may also need
№ 002coding
Perform a Thorough Code Review on a Pull Request
Get a senior-engineer-style code review with categorized, file-referenced feedback.
For
claude·chatgpt
№ 021coding
Refactor Code for Readability and Maintainability
Refactor any code for readability and maintainability without changing its behavior.
For
claude·chatgpt
№ 028coding
Run a Security Review on Code
Get an OWASP-aligned security review with severity ratings and remediation snippets.
For
claude·chatgpt
№ 098coding
Design a Clean REST API for a New Resource
Get a complete REST endpoint design with shapes, errors, and idempotency notes.
For
claude·chatgpt