Most profilers show where time is spent ā not why.
Prompt
Act as a senior performance engineer. Analyze this backend code and: - Identify hidden O(N) or O(N²) patterns - Flag unnecessary allocations - Suggest low-risk performance wins - Explain why each change improves performance Assume production load and real users.
Why this works
It forces AI to reason about runtime behavior, not just syntax.
