前几天提到high-CPU的问题,顺便把这两天路过看到的东西记下来。
Java方面有[url=http://www.hp.com/products1/unix/java/java2/hpjtune/]HP的JTunes[/url]之类的产品,也有[url=https://visualvm.dev.java.net/]VisualVM[/url]之类的免费开源工具。
.NET方面的话,首先会想到的还是Visual Studio Team Edition里自带的profiler。不过师兄说这个profiler主要是监视内存使用状况的,而对CPU使用状况没什么辙(?)。我还没跑过这个profiler,不太清楚。
第三方的.NET profiler也不少。见到一些地方有提到名字的有:
[url=http://www.red-gate.com/products/ants_profiler/index.htm]Red Gate ANTS Profiler[/url]
[url=http://www.jetbrains.com/profiler/]JetBrains dotTrace Profiler[/url]
[url=http://www.compuware.com/products/devpartner/profiler/default.asp?cid=701000000004ej0AAA&focus=&productfocus=&source=Web+-+Evaluation+Request&offering=DevPartner&productfamily=DevPartner&desc=The+DevPartner+Community+Profiler+Edition+is+a+product+download+that+offers+customers+and+prospects+a+high-level+view+of+the+performance+profiling+capabilities+of+DevPartner+Studio+Professional+Edition.&trk=200601-74]Compuware DevPartner Performance Analysis Community Edition[/url]
不过我看到的帖里说ANTS在某些情况会导致程序运行的错误。
[quote]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.[/quote]
([url]http://www.thescripts.com/forum/thread722793.html[/url])
这个问题值得关注……
以前我也读到过些资料,提到在与不在VS2005里运行程序可能会得到不同的运行结果。原因是在VS2005里JIT会以特殊的模式(debug?)来运行,即使项目当前设置在release模式上。我没dump过JIT的结果所以无法确定这是不是真的,不过这种差异会给调试带来很subtle的问题……麻烦啊诶。
Java方面有[url=http://www.hp.com/products1/unix/java/java2/hpjtune/]HP的JTunes[/url]之类的产品,也有[url=https://visualvm.dev.java.net/]VisualVM[/url]之类的免费开源工具。
.NET方面的话,首先会想到的还是Visual Studio Team Edition里自带的profiler。不过师兄说这个profiler主要是监视内存使用状况的,而对CPU使用状况没什么辙(?)。我还没跑过这个profiler,不太清楚。
第三方的.NET profiler也不少。见到一些地方有提到名字的有:
[url=http://www.red-gate.com/products/ants_profiler/index.htm]Red Gate ANTS Profiler[/url]
[url=http://www.jetbrains.com/profiler/]JetBrains dotTrace Profiler[/url]
[url=http://www.compuware.com/products/devpartner/profiler/default.asp?cid=701000000004ej0AAA&focus=&productfocus=&source=Web+-+Evaluation+Request&offering=DevPartner&productfamily=DevPartner&desc=The+DevPartner+Community+Profiler+Edition+is+a+product+download+that+offers+customers+and+prospects+a+high-level+view+of+the+performance+profiling+capabilities+of+DevPartner+Studio+Professional+Edition.&trk=200601-74]Compuware DevPartner Performance Analysis Community Edition[/url]
不过我看到的帖里说ANTS在某些情况会导致程序运行的错误。
[quote]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.[/quote]
([url]http://www.thescripts.com/forum/thread722793.html[/url])
这个问题值得关注……
以前我也读到过些资料,提到在与不在VS2005里运行程序可能会得到不同的运行结果。原因是在VS2005里JIT会以特殊的模式(debug?)来运行,即使项目当前设置在release模式上。我没dump过JIT的结果所以无法确定这是不是真的,不过这种差异会给调试带来很subtle的问题……麻烦啊诶。