Find Execution time of a Method

后端 未结 5 1133
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-06 03:19

I am making an Image Steganography project for my college. I have finished the project and have kept several different algorithms for hiding data in images.

What I want

5条回答
  •  你的背包
    2021-02-06 04:12

    System.Environment.TickCount and the System.Diagnostics.Stopwatch class are two that work well for finer resolution and straightforward usage.

    See Also:

    1. Is DateTime.Now the best way to measure a function’s performance?
    2. High resolution timer in .NET
    3. Environment.TickCount vs DateTime.Now
    4. What’s the best way to benchmark programs in Windows?

提交回复
热议问题