Hi I want to measure time of method and store this value then the next time if the method will changed i check this value with the old value to see if the modification is better.
But the problem is without modification if i run the method several time , i get different values so then i can't make good benchmark.
What is a good measurement to have the same value for a method and like that if i compare it with it self several times, it will give me the same value otherwise it will give me a different value ?
I already use StopWatch, PerformanceCounter, UserProcessTime but all time have different value so maybe time is not good metric for making the bench.