Performance testing considerations
When should you do performance testing? What kind of data should you use in your tests? How will you know if they are too slow? So far in this chapter, we have focused on how to set up and run a performance test, but now, I want to look at a few considerations to make a good performance test. What are some of the things that you should keep in mind when you create a performance test so that you can maximize the amount of information that you can get from the test?
When to do performance testing
The question of when to run performance tests is a tricky one. Should you run them early in the development cycle so that you can adjust your code to be more performant early on, or should you wait until later in the cycle so that you don’t waste time running tests on code that is not yet complete, as it is going to change anyway?
In other words, this is a software development trade-off between not wanting to write code that you don’...