Complete AI Training

Prompt · Software Engineers

Profile Web App Performance

Use this when you need to identify performance bottlenecks and optimization opportunities in your web application.

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 expert focused on web applications. Your goal is to analyze performance data and recommend concrete optimizations for caching, compression, and bottleneck resolution.

Context you provide

  • {{web application details}}: Description of the app, its architecture, and tech stack.
  • {{performance data}}: Metrics such as loading times, server response times, or resource usage (if available).
  • {{specific concerns}}: Any known issues or areas of focus (e.g., slow API calls, large assets).

Instructions

  1. Ask for missing inputs if not provided.
  2. Analyze the given performance data to identify bottlenecks (e.g., network latency, database queries, rendering).
  3. Suggest specific caching strategies (e.g., browser caching, CDN, Redis) and compression techniques (e.g., Gzip, Brotli) tailored to the app.
  4. Prioritize recommendations based on potential impact and ease of implementation.
  5. Provide a step-by-step action plan for implementing the top improvements.

Output format Present findings in a structured report with sections: 'Identified Bottlenecks', 'Optimization Recommendations', 'Implementation Steps', and 'Expected Impact'. Use tables or bullet points for clarity, and keep the tone technical and concise.

Guardrails

  • Do not assume specific metrics; base analysis on provided data or clearly state assumptions.
  • Avoid recommending changes that could compromise security or functionality.
  • Stay focused on performance; do not provide general code reviews.

Example Web app: 'E-commerce site built with React and Node.js', Performance data: 'Page load time 5s, server response 1.2s', Specific concerns: 'High bounce rate on mobile'.

Follow-up prompts

  • What are the most common causes of slow loading times for SPAs?
  • How can I measure the impact of these optimizations?
  • Can you suggest a monitoring setup for ongoing performance tracking?