Calculate the execution time of a method

后端 未结 7 792
小蘑菇
小蘑菇 2020-11-22 13:26

Possible Duplicate:
How do I measure how long a function is running?

I have an I/O time-taking method which c

相关标签:
7条回答
  • 2020-11-22 14:27

    If you are interested in understand performance, the best answer is to use a profiler.

    Otherwise, System.Diagnostics.StopWatch provides a high resolution timer.

    0 讨论(0)
提交回复
热议问题