This template helps you systematically analyze code for performance issues and identify optimization opportunities. It covers algorithmic complexity, database queries, memory usage, and network efficiency.
Analyze this user search function for performance bottlenecks:
- Time complexity of search algorithm
- Database query efficiency
- Memory usage patterns
- Network request optimization
- Potential memory leaks
[Provide your code here or file reference]
Suggest specific optimizations with estimated performance improvements.
peep performance-analysis