I am developing software in C # /. NET, but I think that a question can be asked for other programming languages. How do you check the performance of your software between release versions? Let me dwell in more detail.
Before releasing the software, I would like to compare the performance of the software with the set of features that were available in the previous version of the software. Suppose you are talking about a software library project (without a GUI) that leads to the release of one or more DLLs. How can this be achieved? What are some of the best practices? I can not change the current dll with the dll of the previous version and run the same tests.
One way I can think of is to add the same performance tests to the main branch (which is used for the current version) and an earlier release branch, and then compare the performance. I think there is some pain in this, but it is possible.
Another way I can think of is to start with the release release branch, drown out the new codes and functions that were inserted after the latest version, and then run the test. I do not think that this will give the correct result, not to mention the fact that this approach is even more painful than the previous approach.
Thanks for the other ideas. Prefer specific C # / answers. NET
Edit 1: This and this are a couple of related issues.
Samik R
source share