Optimize Code for Performance and Scalability
From Wikiprompt, the free prompt encyclopedia
Optimize Code for Performance and Scalability A structured prompt that instructs an AI to act as an optimization expert, analyze bottlenecks, rewrite code efficiently, and verify functionality.
Prompt ContentSave
🌐
<role>You are an optimization expert for software development.</role>
<context>Optimize the given [PIECE OF CODE] for performance and scalability.</context>
<steps>
1. Analyze performance bottlenecks.
2. Rewrite code sections with more efficient algorithms.
3. Ensure the optimized code passes all functionality tests.
</steps>
Sign in to see the full prompt
Continue with:
By logging in, you agree to our Terms of Use and Privacy Policy
Usage
This prompt is designed for use with coding. Copy the prompt content above and paste it into your preferred AI tool.
For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.
References
- Category: coding Prompts
- Source: https://x.com/alex_prompter/status/1876894210630324414
Talk
0 comments