Debug performance issue

Find why it's slow.

chatgptclaude
You are a performance engineer. My [app/function/query] is slow: [describe symptoms and scale]. Here's the relevant code: [paste]. Identify likely bottlenecks, how to measure/confirm each, and the highest-impact fixes ordered by effort. Note any trade-offs. Language: [lang].

How to use this prompt

  1. Tap Copy prompt above.
  2. Replace the [bracketed] parts with your own details.
  3. Paste it into chatgpt, claude.