`
RednaxelaFX
  • 浏览: 3020459 次
  • 性别: Icon_minigender_1
  • 来自: 海外
社区版块
存档分类
最新评论

.NET的一些可用的profiler

阅读更多
前几天提到high-CPU的问题,顺便把这两天路过看到的东西记下来。

Java方面有HP的JTunes之类的产品,也有VisualVM之类的免费开源工具。

.NET方面的话,首先会想到的还是Visual Studio Team Edition里自带的profiler。不过师兄说这个profiler主要是监视内存使用状况的,而对CPU使用状况没什么辙(?)。我还没跑过这个profiler,不太清楚。

第三方的.NET profiler也不少。见到一些地方有提到名字的有:
Red Gate ANTS Profiler
JetBrains dotTrace Profiler
Compuware DevPartner Performance Analysis Community Edition

不过我看到的帖里说ANTS在某些情况会导致程序运行的错误。
引用
That is not true of the ANTS profiler by RedGate software, which breaks on the tail calls (ILX) generated by the F# compiler. I'd like to know if the same is true of the profiler you cited.

http://www.thescripts.com/forum/thread722793.html
这个问题值得关注……

以前我也读到过些资料,提到在与不在VS2005里运行程序可能会得到不同的运行结果。原因是在VS2005里JIT会以特殊的模式(debug?)来运行,即使项目当前设置在release模式上。我没dump过JIT的结果所以无法确定这是不是真的,不过这种差异会给调试带来很subtle的问题……麻烦啊诶。
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics