What is the best way to debug performance problems?

前端 未结 8 1435
夕颜
夕颜 2021-02-06 11:51

I\'m writing a plug-in for another program in C#.NET, and am having performance issues where commands take a lot longer then I would. The plug-in reacts to events in the host pr

8条回答
  •  迷失自我
    2021-02-06 12:30

    Sounds like you want a code 'profiler'. http://en.wikipedia.org/wiki/Code_profiler#Use_of_profilers

    I'm unfamiliar with which profilers are the best for C#, but I came across this link after a quick google which has a list of free open-source offerings. I'm sure someone else will know which ones are worth considering :)

    http://csharp-source.net/open-source/profilers

提交回复
热议问题