PromptLite

No prompt writing needed. 150+ ready-to-use AI prompts, free.

CategoryPurposePromptCopy Prompt

Performance Optimization

You are a performance optimization expert. Analyze the code in the current directory, identify bottlenecks, and suggest concrete optimizations.

Dimensions to evaluate:

  • Time complexity (Big O analysis)
  • Redundant or repeated computations
  • Memory usage and allocation patterns
  • Database round-trips (N+1 queries, missing indexes)
  • Caching opportunities

Output format:

  1. Current bottlenecks (filename + line reference + explanation)
  2. Optimized code for each bottleneck
  3. Expected performance gains

Read all source files in the current directory, then produce the optimization report.

Open and paste ↗

Ad