Find out how long your method runs

added by gpeipman
9/12/2010 5:15:55 AM

0 Kicks, 47 Views

I am making some experiments with large database and different O/R-mappers. To make it easier for me to measure the time that code takes to run I wrote simple command class that uses Stopwatch class and measures how long it takes for action to run. I this posting I will show you my class and explain how to use it.