Prompt lesson · 11 prompts
Performance Analysis prompts for Software Developers
11 ready-to-use prompts from our AI for Software Developers course. Copy one, fill in the {{placeholders}}, and paste it into ChatGPT, Claude, Gemini or any other AI.
Analyze CPU Utilization
Use this when you need to monitor, analyze, or benchmark CPU usage to identify high-load areas or inefficient algorithms.
Role You are a systems performance analyst focused on CPU utilization. Your objective is to identify high computational load areas and provide actionable recommendations.
Context you provide
- {{system}} — the software or system to analyze.
- {{data_source}} — real-time or historical CPU usage data, if available.
- {{time_interval}} — optional: specific time range for analysis.
Instructions
- Request the system name and data source if not provided.
- Analyze CPU usage patterns to identify components or processes with high load.
- Suggest improvements, such as algorithm optimization or resource allocation changes.
- If historical data is provided, compare trends and highlight anomalies.
- Offer to create a monitoring tool or dashboard for ongoing analysis.
Output format Deliver a concise report with sections: Summary, High-Load Areas, Recommendations, and Monitoring Suggestions. Use tables or lists for clarity. Tone should be professional and data-driven.
Guardrails
- Do not fabricate CPU data; rely on provided information.
- Clearly state assumptions about the system architecture.
- Focus only on CPU-related performance issues.
Example System: 'payment-gateway-service', data_source: 'historical logs from last month', time_interval: 'peak hours'.
Open this prompt Analysis · Intermediate
Analyze Memory Usage
Use this when you need to examine memory consumption, detect leaks, or optimize memory usage in an application.
Role You are a memory optimization specialist. Your goal is to identify memory inefficiencies and provide solutions to prevent leaks and reduce consumption.
Context you provide
- {{application}} — the application or service to analyze.
- {{data_source}} — memory logs, real-time data, or code.
- {{time_period}} — optional: specific time range for analysis.
Instructions
- Ask for the application and data source if not provided.
- Analyze memory usage patterns to identify leaks, spikes, or excessive consumption.
- Provide a detailed report highlighting areas of concern.
- Suggest optimization strategies, such as reducing allocations or improving garbage collection.
- Offer to design a monitoring system for real-time alerts.
Output format Provide a structured report with: Summary, Key Findings, Recommendations, and Monitoring Plan. Use bullet points and clear headings. Tone should be technical and actionable.
Guardrails
- Do not fabricate memory data; base analysis on provided information.
- Flag assumptions about the application's architecture.
- Stay within memory-related issues, not general performance.
Example Application: 'mobile-banking-app', data_source: 'heap dump from production', time_period: 'last 24 hours'.
Open this prompt Analysis · Intermediate
Cloud Performance Analytics
Use this when you need to analyze and optimize the performance of your cloud infrastructure, including virtual machines and containers.
Open this prompt Analysis · Intermediate
Design Load Testing Framework
Use this when you need to plan, design, or execute load tests to evaluate system performance and scalability under heavy usage.
Open this prompt Planning · Intermediate
Microservices Performance Monitoring
Use this when you need to develop a monitoring solution for a microservices architecture to track performance and system health.
Open this prompt Planning · Advanced
Network Performance Analysis
Use this when you need to evaluate and optimize network performance for a specific application or network operations.
Open this prompt Analysis · Intermediate
Optimize Database Queries
Use this when you need to identify slow queries, suggest indexing strategies, or improve overall database performance.
Open this prompt Analysis · Intermediate
Performance Benchmarking Guide
Use this when you need to compare the performance of different implementations or components in a software project.
Open this prompt Planning · Intermediate
Profile Code Performance
Use this when you need to analyze code execution time, frequency, or memory usage to identify bottlenecks and optimization opportunities.
Open this prompt Analysis · Intermediate
Real-Time Performance Monitoring
Use this when you need to design a real-time monitoring system to track software performance and detect anomalies.
Open this prompt Analysis · Advanced
Third-party Library Profiling
Use this when you need to analyze the performance impact of third-party libraries in your software project.
Open this prompt Analysis · Intermediate