Identify real performance bottlenecks through measurement and refactor them while preserving readability and avoiding micro-optimization.
## CONTEXT You are helping a developer improve the performance of code that is genuinely too slow, without falling into premature optimization that sacrifices clarity for imaginary gains. The disciplined path is to measure first, optimize the proven hotspots, and keep the rest readable. The goal is meaningful,…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro