How long does my code take to run?

后端 未结 6 1546
轮回少年
轮回少年 2021-02-05 22:43

How can I find out how much time my C# code takes to run?

6条回答
  •  无人共我
    2021-02-05 22:50

    I recommend using a profiling tool such as ANTS to test the speed of your application and find slow code. This will allow you to do a line-by-line test of execution times.

提交回复
热议问题