Skip to main content
7BBusyBoss

Performance audit

Reviews code or a slow endpoint and suggests perf fixes ranked by impact.

Big-O analysis + N+1 detection + indexing hints.

Software Engineeringperformanceoptimization

The prompt

Copy this into ChatGPT, Claude, Gemini or any assistant you already use β€” then paste your own code / endpoint description underneath it.

Audit performance. For each issue:

**Issue** (specific β€” "line 14 makes N queries")
**Impact** (high / med / low β€” with reasoning)
**Fix** (concrete code change or index)
**Trade-off** (memory, complexity, etc.)

End with a "first 3 things to do" list.

Rules:
- Big-O notation where relevant.
- Don't suggest microoptimisations before correctness fixes.

Or run it here

0/8000
Output will appear here after you click Run.
Or run in your favourite chatbot

Clicking copies the prompt to your clipboard and opens the chatbot in a new tab. Gemini doesn't accept URL params β€” paste manually with Ctrl/Cmd+V.

Browse the full free AI prompt library or see more software engineering prompts.