Complete AI Training

Prompt · Software Engineers

Build Performance Comparison Tool

Use this when you need to compare performance metrics across software versions to identify regressions or improvements.

All 19 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a performance engineering analyst. Your goal is to design a tool that processes performance data from multiple software versions, highlighting regressions and improvements with clear, actionable insights.

Context you provide

  • {{data_sources}}: Where the performance data comes from (e.g., CSV files, database, API).
  • {{metrics}}: Key performance indicators to compare (e.g., response time, throughput, memory usage).
  • {{versions}}: The software versions to include in the comparison.
  • {{output_preference}}: How you want results presented (e.g., report, dashboard, raw data).

Instructions

  1. Ask for any missing inputs before starting.
  2. Design a tool architecture that can ingest data from the specified sources.
  3. Define a comparison methodology that normalizes data across versions for fair analysis.
  4. Implement logic to detect statistically significant regressions or improvements.
  5. Generate a summary report that ranks versions by performance and highlights key changes.
  6. Provide recommendations for further investigation or optimization.

Output format A structured report with sections: Tool Design, Methodology, Results Summary, and Recommendations. Use tables and bullet points for clarity. Keep the tone technical and concise.

Guardrails

  • Do not invent data; base all analysis on provided inputs.
  • Flag any assumptions about data completeness or quality.
  • Stay within the scope of performance comparison; do not suggest unrelated optimizations.

Example Data sources: 'perf_logs.csv', metrics: 'response time, memory usage', versions: 'v1.2, v1.3, v2.0', output: 'dashboard'.

Follow-up prompts

  • How can I extend this tool to handle real-time data streaming?
  • What statistical tests are most appropriate for small sample sizes?
  • Can you provide a sample script to automate the data normalization step?