简体   繁体   English

分析C#/ .NET应用程序

[英]Profiling C# / .NET applications

How do you trace/profile your .NET applications? 您如何跟踪/配置.NET应用程序? The MSDN online help mentions Visual Studio Team (which I do not possess) and there is the Windows Performance Toolkit. MSDN联机帮助中提到了Visual Studio Team(我没有),并且有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. 最好(当然)是一种无需手动更改代码即可运行并且可以集成到Visual Studio中的解决方案。

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. JetBrains dotTrace是我发现的最好的.NET探查器(并且我已经尝试了几乎所有的探查器),因为它是唯一具有足够低开销来处理处理器密集型应用程序的探查器。 It is also simple, accurate and well-designed - highly recommended! 它也是简单,准确和精心设计的-强烈建议!

I think this is the best free one: http://www.productivity-boost.com/Download.aspx 我认为这是最好的免费软件: http : //www.productivity-boost.com/Download.aspx

The website is german but you can just download it, the software is english. 该网站为德语,但您可以直接下载,该软件为英语。

CLR Profiler相当不错。

.NET Memory Profiler是用于分析内存使用情况的出色工具。

Our team uses EQATEC Profiler , I've found it simple and easy to use. 我们的团队使用EQATEC Profiler ,我发现它简单易用。 It works without changes to the source code, but I don't think Visual Studio integration is possible. 它无需更改源代码即可工作,但我认为Visual Studio集成是不可能的。

我喜欢dotTrace3.1,它对我来说真的很好用。

If you are looking for something free, I use NProf. 如果您正在寻找免费的东西,我会使用NProf。 Although its pretty limited and may crash or hang on certain programs. 尽管它非常有限,并且可能在某些程序上崩溃或挂起。

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

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. Visual Studio的探查器使我关闭,但是Antz探查器将其锁定。 It isn't free, but it was much less painless than setting up Visual Studio. 它不是免费的,但比设置Visual Studio轻松得多。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM