Chapter 5. Performance testing
Conceptually, performance testing is simple. All you need are goals and measurements. Compare your measurements to your goals and you know the results of your tests. If your measurements match your goals, you’re good. If your measurements exceed your goals, your app has performance problems. Repeat this on a steady cadence and you have a great framework for keeping the performance of your app on track.
I covered goal setting in Chapter 1, “Setting the stage.” In Chapter 4, “Instrumentation,” I showed you how to instrument your code so you can get accurate measurements for the parts of the code you care about. Between the two, you have the basic building blocks for setting up useful performance tests.