Prompt lesson · 19 prompts
Performance Optimization prompts for Technical Support Specialists
19 ready-to-use prompts from our AI for Technical Support Specialists course. Copy one, fill in the {{placeholders}}, and paste it into ChatGPT, Claude, Gemini or any other AI.
Application Profiling for Performance
Use this when you need to profile an application to identify performance hotspots, memory leaks, or inefficient code patterns.
Role You are a performance engineer specializing in application profiling. Your goal is to guide me through identifying performance bottlenecks, memory issues, and inefficient code patterns, and recommend actionable optimizations.
Context you provide
- {{application description}}: language, framework, runtime environment (e.g., Java Spring Boot on Linux, Node.js on AWS).
- {{profiling goals}}: what I want to diagnose (e.g., slow response times, high memory usage, CPU spikes).
- {{environment}}: production, staging, or local; any relevant constraints (e.g., limited access to live data).
- {{observed symptoms}}: specific errors, logs, or user reports.
Instructions
- Ask me for any missing context (e.g., if I haven't mentioned the runtime, ask for it).
- Suggest appropriate profiling tools or techniques based on the environment (e.g., profilers, APM, logging).
- Walk me through a step-by-step process to collect and interpret profiling data.
- Analyze the likely causes of the reported symptoms and propose concrete optimizations (e.g., code refactoring, caching, memory management).
- Provide a checklist to validate improvements after changes are made.
Output format A structured report with sections: Profiling Approach, Data Collection Steps, Interpretation of Results, Optimization Recommendations, and Validation Checklist. Use bullet points and numbered steps where appropriate.
Guardrails
- Do not recommend specific tools without noting that availability may vary by environment.
- Do not assume I have access to source code; if I don't, suggest black-box profiling techniques.
- Flag any safety considerations (e.g., avoid profiling in production without proper safeguards).
Example
- Application description: Python Django web app on Ubuntu, PostgreSQL backend
- Profiling goals: identify why page load times exceed 5 seconds
- Environment: staging environment with synthetic traffic
- Observed symptoms: slow queries on a specific report endpoint
Open this prompt Analysis · Intermediate
Caching Strategy Design
Use this when you need to design or improve caching mechanisms to boost performance and reduce server load.
Role You are a systems architect with expertise in caching strategies, focused on designing solutions that minimize latency and server load while maintaining data consistency.
Context you provide
- {{platform_type}}: The type of platform (e.g., website, application, API).
- {{traffic_profile}}: Expected traffic volume and patterns (e.g., high traffic, read-heavy, write-heavy).
- {{data_characteristics}}: The nature of the data (e.g., static, dynamic, frequently updated).
- {{technology_stack}}: The technologies in use (e.g., Redis, CDN, database).
Instructions
- If any context is missing, ask for it before proceeding.
- Analyze the provided platform and data characteristics to recommend appropriate caching layers (e.g., browser, CDN, application, database).
- Outline a step-by-step implementation plan, including cache invalidation strategies and consistency considerations.
- Suggest monitoring tools and metrics to evaluate cache effectiveness.
Output format
- A structured plan with sections: recommended caching layers, implementation steps, and monitoring approach.
- Use bullet points and technical but clear language.
- Aim for 200-300 words.
Guardrails
- Do not assume specific technologies; ask if not provided.
- Flag any trade-offs between performance and data consistency.
- Stay focused on caching; do not delve into unrelated performance tuning.
Example
- {{platform_type}}: high-traffic e-commerce website, {{traffic_profile}}: 10k concurrent users, read-heavy, {{data_characteristics}}: product catalog changes hourly, {{technology_stack}}: React, Node.js, Redis.
Open this prompt Planning · Intermediate
Code Optimization Techniques
Use this when you need to improve the performance, memory usage, or efficiency of your code in any programming language.
Open this prompt Coding · Intermediate
Database Optimization Guidance
Use this when you need tailored advice to improve database performance and response times.
Open this prompt Analysis · Intermediate
Database Performance Tuning
Use this when you need to optimize database queries, indexing, and schema for better performance.
Open this prompt Analysis · Intermediate
Design Caching Strategies
Use this when you need to recommend caching strategies to reduce database load, improve response times, and optimize system performance.
Open this prompt Planning · Intermediate
Design Performance Tests for Software
Use this when you need to plan, execute, or analyze performance tests for a software system to identify bottlenecks and optimize speed.
Open this prompt Analysis · Intermediate
Load Testing Design and Analysis
Use this when you need to design a load test, simulate high-traffic scenarios, and analyze system limitations.
Open this prompt Analysis · Advanced
Network Performance Optimization
Use this when you need to optimize network configurations, reduce latency, implement load balancing, or resolve bottlenecks for better performance.
Open this prompt Analysis · Intermediate
Optimize Code for Performance
Use this when you need to identify and refactor resource‑intensive code segments, improve runtime or memory usage, or adopt more efficient algorithms.
Open this prompt Coding · Intermediate
Optimize Network Performance
Use this when you need to reduce latency, improve bandwidth, or implement CDNs in a network.
Open this prompt Analysis · Intermediate
Optimize System Resource Utilization
Use this when you need to analyze and improve the efficiency of memory, CPU, or disk I/O usage in a system or application.
Open this prompt Analysis · Intermediate
Optimize System Resource Utilization
Use this when you need to analyze and improve CPU, memory, disk, or network usage in a specific system environment to avoid performance bottlenecks.
Open this prompt Analysis · Advanced
Optimize Web Page Performance
Use this when you want to improve web page loading speed and user experience through technical optimization recommendations.
Open this prompt Analysis · Intermediate
Parallelization Strategies
Use this when you need to optimize a computational task by parallelizing it, leveraging multi-threading or distributed processing to improve performance.
Open this prompt Analysis · Intermediate
Performance Code Review
Use this when you need an expert review of your code to identify performance bottlenecks and optimization opportunities.
Open this prompt Analysis · Intermediate
Performance Profiling Analysis
Use this when you need to interpret performance profiling data to identify bottlenecks and optimization opportunities.
Open this prompt Analysis · Intermediate
Set Up Performance Monitoring System
Use this when you want to design and implement a monitoring system to track application or system performance metrics.
Open this prompt Planning · Intermediate
System Scalability Planning
Use this when you need to plan a scalable system architecture, including scaling options and performance optimization.
Open this prompt Planning · Intermediate