Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do you test performance of code between software release versions?
    primarykey
    data
    text
    <p>I am developing software in C#/.NET but I guess the question can be asked for other programming languages as well. How do you test performance of your software between release versions? Let me elaborate some more.</p> <p>Before the production release of the software, I would like to compare the performance of the software for a set of functions which were available in previous release of the software. Let's assume that you are talking about a software library project (no GUI) which results in the release of one or more dll's. How would one achieve this? What are some of the best practices? I cannot possibly swap the current dll with the previous release dll and run the same test.</p> <p>One way I can think of is to add the same performance test in the main branch (which is used for current release) and the earlier release branch and then compare the performance. I think that there is some pain involved in doing this, but is possible.</p> <p>Another way I can think of is start with the lest release branch, stub out the new codes and features which has been put in after the last release, and then run the test. I do not think this would produce correct result, not to mention that this approach is even more painful than the previous approach.</p> <p>Thanks for other ideas. Would prefer C#/.NET specific answers.</p> <p>Edit 1: <a href="https://stackoverflow.com/questions/2356098/what-is-the-best-tool-for-performance-regression-testing">This</a> and <a href="https://stackoverflow.com/questions/751626/performance-testing-best-practices-when-doing-tdd">this</a> are somewhat related questions.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload