As part of the samples included in my last presentation about .NET Performance and Scalability, there is a useful class that encapsulates the Win32 functions QueryPerformanceCounter and QueryPerformanceFrequency . These functions let you measure the performance...