Example result: Plan how to find a performance bottleneck
AI-generated example · Performance Plan
Updated

Plan how to find a performance bottleneck

This prompt helps you plan how to find why an app or page is slow in a given situation, with a stack you describe and what you measured.

text-performance-profiling-plan — chatgpt — 48 words

My [APP OR PAGE] is slow when [SITUATION].

Stack: [STACK]
What I measured: [MEASUREMENTS]
Scale: [USERS OR DATA SIZE]

Give me a step-by-step plan to find the bottleneck: what to measure, which tools to use, likely culprits in order, quick wins and how to confirm each fix helped.

Measure before you change anything, or you will never know whether it helped.

Get a better result

What you will get

A step by step plan to find what makes your app or page slow: what to measure, which tools to use, likely causes in order, quick wins and how to prove each fix helped.

Why it works

Slow software is usually slow in one place, and the plan is built to find that place before you change anything. The situation line, such as “when the list has many items”, narrows the search. Likely culprits in order and a way to confirm each fix keep you from making changes that feel faster but are not.

Common mistake

You start fixing before you measure.

Fix: Follow the measure step first, as the tip says, and write the baseline number down.

Also watch for
  • It suggests tools that do not fit your stack. Name the stack precisely, like browser, server language and database, and ask for tools for each layer.
  • Measurements come from your fast laptop only. Ask how to test on a slower device or network, since your users may not have your machine.
Try a variation: set a budget

Ask for a performance budget, such as a page weight or response time limit, and how to check it automatically before each release.

Still not right? Reply with this

Here are my first measurement results: [PASTE]. Which number points to the bottleneck, and what should I measure next?

More chat & writing prompts

See all 465 →