We saw in the previous chapter that driving a benchmark requires work and is not a small operation. However, it doesn't solve all the needs of software development, since you only do it from time to time. Moreover, between two benchmarks, you can have huge performance regression not captured by the unit tests validating the features and behavior of your application.
To solve that, it is a good idea to try to add dedicated tests for performance. This is what this chapter is about. Thus, we will learn:
- Which tools you can use to test the performance
- How you can set up some continuous integration for performance
- How to write tests for the performance in such a context