Tools to profile function execution times of a .NE

2019-04-13 15:59发布

What tools are available to profile a .NET program by measuring function execution times and generating graphs to visualize the time spent at various points in the call graph?

5条回答
Rolldiameter
2楼-- · 2019-04-13 16:15

There is a free C# IDE SharpDevelop 3.1, which has integrated profiler, and it is compatible with Visual Studio solutions.

查看更多
狗以群分
4楼-- · 2019-04-13 16:29

It'll cost you but Ants Performance Profiler will do the job.

查看更多
成全新的幸福
5楼-- · 2019-04-13 16:33

AQTime and dotTrace are two very good commerical profilers.

A free option would be ProfileSharp, though I have had little luck with it.

Microsoft provides the CLR Profiler as well, which works well, but has fewer features.

查看更多
ら.Afraid
6楼-- · 2019-04-13 16:41

What's the goal? Do you just want to 1) See a nice call graph with times on it, or 2) Locate cost points to optimize to make your program faster?

If the answer is (2), and you don't mind something that's free, you can try this.

This gives an example of how to use it.

查看更多
登录 后发表回答