PerformanceCounter can measure the time elapsed to perform an operation