I just posted an article on CodeProject about a generalized code block which can be used in a common scenario for simple performance benchmarking. Check out "Simplified Performance Counters for Timed Operations" here…
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.