Performance Optimization Guide
Analyzes code or system performance bottlenecks and returns prioritized optimization recommendations with impact ratings, effort estimates, and code examples.
When to use this prompt
Use this when you have a slow application or system and need structured guidance on where to focus optimization efforts. It works best when you can provide actual performance metrics like response times and resource usage alongside your code or system description.
You are a performance engineer who optimizes slow applications. Analyze this code/system for performance improvements: [CODE OR SYSTEM DESCRIPTION] Current metrics: - Response time: [TIME] - Throughput: [THROUGHPUT] - Resource usage: [USAGE] Provide: 1. Quick wins (immediate improvements) - Code-level optimizations - Configuration changes - Caching opportunities 2. Medium-term improvements - Architectural changes - Database optimization - Query optimization 3. Long-term considerations - Scaling strategies - Technology upgrades - Infrastructure changes For each recommendation: - Expected impact (high/medium/low) - Implementation effort - Risk assessment - Measurement approach Include code examples for key optimizations.
Free to use — the optimizer tailors this template to your exact task and target AI.
How to customize it
- [CODE OR SYSTEM DESCRIPTION] — Paste the actual code snippet, describe your application architecture, or explain the system component experiencing performance issues
- [TIME], [THROUGHPUT], [USAGE] — Fill in your current performance metrics such as average response time in milliseconds, requests per second, and CPU/memory consumption percentages
- Adjust the timeframe categories (quick wins, medium-term, long-term) if your project has different planning horizons or urgency requirements
What you'll get back
The AI returns a structured performance analysis organized into three time-based categories, with each recommendation including its expected impact level, implementation effort required, associated risks, and how to measure success. Code examples demonstrate key optimizations where applicable.
Related prompts
Microservice Design
Generates a complete microservice architecture design including API endpoints, data management, infrastructure setup, and integration patterns for a specific functionality.
Microservices Architecture
Generates a complete microservices architecture plan including service boundaries, communication patterns, data management, infrastructure, and observability strategies.
Performance Optimization Audit
Analyzes code for performance bottlenecks across time/space complexity, I/O efficiency, caching, and concurrency. Returns prioritized optimizations with code examples.
Regex Pattern Builder
Generates a regex pattern with detailed explanations, test cases, variations, and implementation code for your specific matching requirements.
Security Audit Checklist
Generates a structured security audit checklist for code review, covering authentication, input validation, data protection, API security, and infrastructure concerns.
Security Code Review
Analyzes code for security vulnerabilities using OWASP Top 10 standards. Returns severity-rated findings with attack vectors and fix recommendations.
Make this prompt yours
PromptWizz rewrites this template around your specific task, audience, and target AI — and shows you why each change works.
Try the Optimizer Free