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
AI Agent Architecture Planner
Design a multi-agent AI system architecture for any use case
API Design & Documentation Generator
Design RESTful or GraphQL APIs with OpenAPI specs, error handling, and developer documentation
Bug Report Triage Assistant
Analyze and categorize bug reports for efficient debugging
Tree of Thoughts Problem Solver
A prompt technique that explores multiple reasoning paths simultaneously, generating and evaluating different thought branches to find optimal solutions.