Common culprits for bad performance
In practice, many performance problems are pretty common and reoccurring. Knowledge of potential culprits is essential in choosing the right profiling strategy. Also, some specific culprits may manifest in recognizable patterns. If you know what to look for, you will be able to fix obvious performance issues without a detailed analysis and save a lot of time on further optimization attempts.
- Excessive complexity
- Excessive resource allocation and resource leaks
- Excessive I/O and blocking operations
The most dreaded culprit of application inefficiency is excessive complexity, so we will discuss this first.