Profiling C# / .NET applications

点点圈 提交于 2019-12-21 07:41:07

问题


How do you trace/profile your .NET applications? The MSDN online help mentions Visual Studio Team (which I do not possess) and there is the Windows Performance Toolkit. But, are there other solutions you can recommend? Preferably (of course) a solution that works without changing the code (manually) and that can be integrated in Visual Studio.


回答1:


See also this question. JetBrains dotTrace is the best .NET profiler I have found (and I have tried pretty much every one there is), because it is the only one that has low enough overhead to handle a processor-intensive application. It is also simple, accurate and well-designed - highly recommended!




回答2:


Happy birthday:

http://www.jetbrains.com/profiler/




回答3:


Ants Profiler works for me http://www.red-gate.com/products/ANTS_Profiler/




回答4:


CLR Profiler is quite good.




回答5:


I think this is the best free one: http://www.productivity-boost.com/Download.aspx

The website is german but you can just download it, the software is english.




回答6:


I like dotTrace3.1 It has worked really well for me.




回答7:


If you are looking for something free, I use NProf. Although its pretty limited and may crash or hang on certain programs.

http://nprof.sourceforge.net/Site/Description.html




回答8:


Not free, but I just had a tough issue in huge code base with streams. Visual Studio's profiler got me close, but Antz Profiler locked it down. It isn't free, but it was much less painless than setting up Visual Studio.




回答9:


.NET Memory Profiler is an excellent tool for profiling memory usage.




回答10:


Our team uses EQATEC Profiler, I've found it simple and easy to use. It works without changes to the source code, but I don't think Visual Studio integration is possible.



来源:https://stackoverflow.com/questions/94581/profiling-c-sharp-net-applications

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!