[Mono-dev] Application performance benchmarking

Lukas Lipka lukas at pmad.net
Tue Mar 21 15:51:15 EST 2006


Does anyone know what is the best way to benchmark a C# app? I'm
specifically looking for something, that would tell me which part of the
code takes up lot of time, how long does a specific block of code take
to execute, etc.

Is the method when I note DateTime.Now before the block of code and
after it do a subtraction of the current DateTime.Now to the previous
one accurate?


More information about the Mono-devel-list mailing list