Skip to content
PromptPilot AI

Library / Coding & Technology / Performance

Investigate a slow page or endpoint

Measure first, then optimise the real bottleneck.

Cursor / coding agentsClaude CodeChatGPTClaude
Who it's for
Developers using AI coding tools
Use case
Performance
Output
Agent task · Free
You'll need to fill in
Page/endpointtime
Prevents: Premature micro-optimisation without measuring.
[Page/endpoint] is slow (~[time]). Investigate:
1. Measure: list how you will measure (query log, profiler, timing logs) and do it.
2. Identify the top bottleneck with evidence (queries, payload size, external calls, rendering).
3. Propose up to 3 fixes ranked by impact/effort.
4. Implement the top fix and show before/after measurements.
No speculative changes without measurements.

Copies your prompt and opens the official site in a new tab. You may need to paste it yourself (Ctrl/⌘ + V). Nothing is sent to the AI by us.

Replace [bracketed] parts with your own details before sending. Want it tailored? Build a custom coding assistant prompt.

Before vs after

A typical one-line request compared with this prompt. We only show sample responses where we've written an illustration.

BeforeWhat people usually type

Prompt

performance

1 words · no role, context, format or constraints

AfterThis library prompt

Prompt

[Page/endpoint] is slow (~[time]). Investigate:
1. Measure: list how you will measure (query log, profiler, timing logs) and do it.
2. Identify the top bottleneck with evidence (queries, payload size, external calls, rendering).
3. Propose up to 3 fixes ranked by impact/effort.
4. Implement the top fix and show before/after measurements.
No speculative changes without measurements.

56 words · generated instantly from templates, no AI called

What we added

  • Your details: [brackets] for the facts only you know
  • Step-by-step workflow: numbered steps
  • Constraints: rules and limits

Related prompts