What is the best way to debug performance problems?

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

    My Profiler List includes ANTS, dotTrace, and AQtime.


    However, looking more closely at your question, it seems to me that you should do some unit testing at the same time you're doing profiling. Maybe start by doing a quick overall performance scan, just to see which areas need most attention. Then start writing some unit tests for those areas. You can then run the profiler while running those unit tests, so that you'll get consistent results.

提交回复
热议问题