In this chapter, we will go through an array of performance problems that have been encountered recently by the author in his programming work—either caused by himself or by others. They all seem to fall under the same label of being basic, but that's what most performance problems are like in the real world – trivial, once you've spotted them. These problems are those that the author can recall because he either had to correct them or has heard about them in more detail.
This isn't a catalog of all possible performance fails (can such a thing exist?) but rather a list of real-life problems as opposed to artificial examples that we could set up as an alternative. I believe that a real-life touch is more important than any attempt at an exhaustive catalog. These problems will also show you in which unexpected...