Reproducibility of performance tests
I need to execute performance tests that will run once per day or several days. The tests will test how performance of the same (but continuosly developed) code change in time. This testing should prevent introducing a performance regression before the code goes to production.
I’d like to use general purpose droplet for this purpose that will be used / paid only for the time of test executions and then returned back to DO pool so that I don’t need to pay for idle time.
The crucial thing is though that I need to be able to compare results of the test between different execution - ie. at the start of the month and at the end of it. Can I rely on having the same hardware specs for the droplet? Because if not - the performance results might change not due to the changes in the code but due to changes in the hardware itself and in that case the results wouldn’t be comparable.
Thanks for hints!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×