Thursday, December 23, 2004

Measuring execution times: SpeedTimer

Guido Krueger's SpeedTimer gives us an easy way to measure and compare method execution times.

  • Measures the hardware timer resolution.
  • Measures the overhead of empty loop iteration.
  • Offers a template to help measure the speed of the code by successively running it in a loop until the elapsed time is long enough to give meaningful results.

1 Comments:

Blogger nerinossa said...

Measures the overhead of empty loop iteration

1:19 PM  

Post a Comment

Links to this post:

Create a Link

<< Home