C#2010的良好Profiler? [英] Good Profiler for C# 2010?

查看:71
本文介绍了C#2010的良好Profiler?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我喜欢Visual Studio Ultimate 2010的探查器.但是我没有8,000美元,也没有获得该功能所需的任何费用.如果没有更好的分析器,是否有同样出色的分析器?它不一定是免费的.我基本上希望看到类似方法X这样的包含时间,被调用的时间以及被WHO调用的时间,专有时间等等.还有别的吗?

解决方案

Ants Profiler非常好: http://www.jetbrains.com/profiler/

Ants更加强大,但是dotTrace对公司的支持非常棒:)

此外,如果您正在执行开源项目,那么使用dotTrace,您就有资格获得开源许可证.它们还具有频繁的更新,并且仍支持.netCF(对于VS2008.对您而言并不重要,但表明它们关心并支持所有Windows平台)

这是我正在处理的项目的2张屏幕截图,在dotTrace中进行了概要分析.您可以从第一个图像中获得按线程组织的调用树.它显示了每个方法和子方法的包含时间和包含运行百分比.

在这张图片中,您可以看到排它的运行时间,调用次数以及在下面的面板中,调用所选方法的函数(在顶部面板中)以及调用和递归调用的次数.

我不隶属于jetbrains,但我有几个开源项目,由于这些项目,它们给了我免费许可证.因此,我真的很喜欢这家公司.

希望这会有所帮助!

(哦,我有专业版.我不确定其他版本有没有)

I love the profiler for Visual Studio Ultimate 2010. But I do not have $8,000 or whatever it costs to just get that functionality. Are there any profilers that are just as good, if not better? It does NOT have to be free. I basically would like to see something like method X has this amount of inclusive time, times it was called and by WHO, exclusive time, and so on. Does anything else do this?

解决方案

Ants Profiler is very good: http://www.red-gate.com/products/dotnet-development/ants-performance-profiler/

Also I like dotTrace: http://www.jetbrains.com/profiler/

Ants is more robust but dotTrace's company support is awesome :)

Also, with dotTrace, if you are doing opensource projects, then you can qualify for an OpenSource license. They also have frequent updates and they still support .netCF (For VS 2008. Not important to you, but shows they care and support all the Windows Platforms)

EDIT:

Here are 2 screenshots of a project I'm working on, profiled in dotTrace. As you can from the first image, you get the call tree, organized by threads. It shows the inclusive time and the inclusive run percentage of each method and sub methods.

In this picture you see the exclusive run time, number of calls and in the lower panel, the functions that called the selected method (in the top panel) and the number of calls and recursive calls.

I am not affiliated with jetbrains, but I have several opensource projects and they have given me free licenses because of them. For that reason I really like the company.

Hope this helps!

(Oh, and I have the Professional version. I'm not sure what the other version have or don't have)

这篇关于C#2010的良好Profiler?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆