nickfloyd/NewRelicDotNetAgentAPIDemo — pull request #2 by mikepugh (2013-10-02 18:31:46+00:00)
Title: updating datetime perf measures to stopwatch

The previous code was using DateTime.Now.Subtract() to calculate elapsed time. A better method for profiling code performance is to use the Stopwatch class since it uses a higher resolution timer. See a more detailed explanation @ http://stackoverflow.com/questions/28637/is-datetime-now-the-best-way-to-measure-a-functions-performance