What is the best way to debug performance problems?

前端 未结 8 1544
夕颜
夕颜 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:42

    Visual Studio Team System has a profiler baked in, its far from perfect, but for simple applications you can kind of get it to work.

    Recently I have had the most success with EQATECs free profiler, or rolling my own tiny profiling class where needed.

    Also, there have been quite a few questions about profilers in that past see: http://www.google.com.au/search?hl=en&q=site:stackoverflow.com+.net+profiler&btnG=Google+Search&meta=&aq=f&oq=

提交回复
热议问题