你在使用。net程序时使用过哪些分析器,你特别推荐哪一个?


当前回答

最新版本的ANTS内存分析器(我认为它是5)简直太棒了!!我使用WinDbg和SOS来解决泄漏,因为它被证明是最好的方法,然后我尝试了ANTS,几分钟就搞定了。真是一个很棒的软件。

其他回答

我在一个大型的c#应用程序中发现了很多问题。

通常情况下,问题发生在启动或关机过程中,因为正在加载插件,并且正在创建、销毁、序列化或反序列化大数据结构。它们通常不止一次地被创建和初始化,并且更改处理程序被添加了多次,这进一步加剧了问题。

在这种情况下,程序可能非常缓慢,以至于只有2个样本就足以确定错误的方法/函数/属性调用位点。

AQTime是合理的,但有一点学习曲线,并且不像Team Suite中内置的那样容易使用

如果你正在寻找一些快速,简单,免费的东西,http://code.google.com/p/slimtune/似乎做的很好。

在过去,我使用Visual Studio Team System附带的分析器。

I must bring an amazing tool to your notice which i have used sometime back. AVICode Interceptor Studio. In my previous company we used this wonderful tool to profile the webapplication (This is supposed to be the single largest web application in the world and the largest civilian IT project ever done). The performance team did wonders with the help of this magnificent tool. It is a pain to configure it, but that is a one time activity and i would say it is worth the time. Checkout this page for details.

谢谢, 詹姆斯