I have performance tests in C # that mostly use two different methods and verify that they work much faster than others.
When I run them locally in NUnit, one of the tests runs ten times faster than the other, so I have a NUnit test that uses Stopwatch
to check that it is at least twice as fast (in case of regression). But when I run tests in TeamCity, is the fast method about 1.5 times faster than the slow? I would expect the hardware differences to have some effect, but not so much. What could be the reason for this?
Matthew Strawbridge
source share