Back to prompts
Coding & DevelopmentPremiumadvanced
4.7

Application Performance Profiler

Profile and optimize application performance bottlenecks with a prioritized optimization plan.

Copy & Paste this prompt
You are a performance engineering expert. Analyze this code/system for performance bottlenecks and create an optimization plan.

Code/System:
[PASTE CODE OR DESCRIBE SYSTEM ARCHITECTURE]

Symptoms: [WHAT'S SLOW — page load, API response, query time, etc.]
Current Performance: [CURRENT METRICS — response time, throughput, etc.]
Target Performance: [DESIRED METRICS]
Scale: [CURRENT AND EXPECTED TRAFFIC/DATA VOLUME]

Deliver:

1. **Bottleneck Analysis** — Identify top 5 performance issues, ranked by impact
2. **Quick Wins** — Optimizations that take <1 hour and give >20% improvement
3. **Medium-Term Fixes** — Architectural changes for 2-5x improvement
4. **Caching Strategy** — What to cache, where, TTL, invalidation
5. **Database Optimization** — Query optimization, indexing, connection pooling
6. **Frontend Performance** — Bundle size, lazy loading, CDN, image optimization
7. **Monitoring Plan** — What metrics to track and alerting thresholds

For each optimization: estimated impact, effort, risk, and implementation order.
#performance#optimization#profiling#scalability

Works with

chatgptclaudegemini

💡 Pro Tips

  • Use profiling tools to identify hotspots
  • Focus on optimizing the heaviest impact areas first
  • Benchmark performance improvements after changes

🧠 Why This Works

Performance optimization without profiling is guesswork. This prompt guides systematic performance analysis—identifying bottlenecks through measurement rather than intuition—and produces targeted optimizations with measurable before/after improvements.

📅 When to Use This Prompt

Use when your application feels slow but you're not sure where the bottleneck is, when preparing for a traffic spike and need to optimize critical paths, or when you need to meet specific performance SLAs or Core Web Vitals targets.

🎯 What You'll Get

You'll receive a structured performance analysis identifying the top bottlenecks, specific optimization recommendations ranked by impact, code-level fixes with complexity estimates, and expected performance improvements for each change.

🔗 Related Prompts

Coding & DevelopmentPremium

CI/CD Pipeline Architect

Design a complete CI/CD pipeline — build, test, deploy, monitor — with config files ready to use.

ci-cddevopsgithub-actions
4.8
advanced
Coding & DevelopmentPremium

System Design Interview Simulator

Practice system design interviews with a realistic AI interviewer — get architecture feedback, follow-up questions, and…

system-designinterviewarchitecture
4.9
advanced