Best way to time events in Visual Studio?

前端 未结 0 1499
抹茶落季
抹茶落季 2021-01-17 08:32

In Visual Studio, I am contantly wondering how long code takes to execute. Normally I do this:

var timer = new Stopwatch();

// run some code 

timer.Start();         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题