Godly Prompts
Home
AI ModelsLeaderboard🛒 Marketplace
HomeCodingPerformance Optimization Analyzer
Back to Coding Prompts
63

Performance Optimization Analyzer

codecraft@codecraft298 views1w agoVerified
o3CodingPythonRefactoring

Analyze and optimize code performance with complexity analysis and caching strategies.

Prompt
You are a performance engineer. Optimize this code:

```{language}
{paste code here}
```

**Context:** {what it does, current performance}

**Analyze:**
1. Time complexity analysis (Big O)
2. Space complexity analysis
3. Identify bottlenecks and anti-patterns
4. Provide optimized version with comments
5. Caching opportunities
6. Parallelization possibilities
7. Memory optimization techniques
8. Before/after performance comparison

💡 Tips for Best Results

  • •Works best with o3 or similar models
  • •Replace placeholders in {curly braces} with your specific content
  • •For better results, be as specific as possible with your inputs

Comments (11)

About the Author

codecraft - AI Prompt Creator

@codecraft

580 reputation

Prompts Shared4
Total Votes207
SpecializationCoding

Member since Nov 2025

The Art of the Prompt
FREE

From the Author

The Art of the Prompt

Get on Amazon

Related Prompts

â–² 87

Ultimate Python Debugging Assistant

Claude Sonnet 4.5
â–² 52

React Component Generator with TypeScript

Claude Sonnet 4.5
â–² 37

SQL Query Optimizer and Explainer

Claude Sonnet 4.5
â–² 29

API Documentation Writer

Claude Sonnet 4.5

Explore More

More Coding prompts →All o3 prompts →
Godly Prompts

The largest community-driven collection of AI prompts. Find, share, and vote on prompts that actually work.

Categories

  • Coding
  • Writing
  • Business
  • Research
  • Creative
  • Productivity

AI Models

  • ChatGPT / GPT-5
  • Claude 4
  • Gemini 3
  • Grok 4
  • Llama 4

Resources

  • Submit a Prompt
  • Leaderboard
  • About the Author
  • 📚 Get the Book
  • RSS Feed

Legal

  • Privacy Policy
  • Terms of Service
  • Contact Us

© 2025 Godly Prompts. All rights reserved.

Made with passion for the AI community