有哪些工具可用于通过测量函数执行时间并生成图表来可视化调用图中各个点所花费的时间来分析 .NET 程序?
这会让你付出代价,但是Ants 性能分析器 http://www.red-gate.com/products/ants_performance_profiler/index.htm会做这项工作。