Code Performance Optimizer
Analyze code and provide optimization recommendations for better performance and efficiency
Content
Analyze the following code for performance optimization opportunities: ```{{language}} {{code}} ``` Provide: 1) Identified bottlenecks and inefficiencies, 2) Specific optimization suggestions with code examples, 3) Time/space complexity improvements, 4) Best practices to implement, 5) Priority ranking of changes by impact. Explain each recommendation clearly.
Related Prompts
Code Review Critic
Perform thorough code review with security, performance, and best practices feedback
Senior-Level AI Code Review & Refactor Guide
Performs a thorough senior-engineer-level code review with prioritized refactoring recommendations, security checks, and performance improvements.
AI Debugging Chain-of-Thought Assistant
Apply systematic chain-of-thought reasoning to diagnose and fix complex bugs, with step-by-step analysis, hypothesis testing, and a clear fix with explanation.
Meta-Prompt Generator
Generate prompts that help AI create better prompts - a powerful technique for prompt engineering and optimization.