The environment is everything that isn’t me.
— Albert Einstein
© Andrey Akinshin 2019Andrey AkinshinPro .NET Benchmarkinghttps://doi.org/10.1007/978-1-4842-4941-3_3
3. How Environment Affects Performance
Saint Petersburg, Russia
In Chapter 1, we discussed performance spaces. The main components of a performance space are source code, environment, and input data. The source code is a mathematical abstraction; it doesn’t have the “performance” characteristic. If you want to talk about how fast your program is, you should put it in a real environment. In each environment, the source code will have a long journey before we can discuss performance (see Figure 3-1).
In this chapter, we will discuss different ...