CLR Profiler

CLR Profiler is a memory profiler for the .NET Framework from Microsoft. It allows the user to investigate the contents of the managed heap, the behavior of the garbage collector, and the allocation patterns (including call-graph analysis) of the program being profiled.

The latest version, 4.5, released in November 2012, allows for profiling of .NET 2.0, 3.0, 3.5, 4.0 or 4.5 managed code as well as Silverlight apps.[1] The source code is included under the Microsoft Limited Reciprocal License (MS-LRL).

CLR Profiler is an intrusive tool; seeing a 10 to 100x slowdown in the application being profiled is not unusual. Therefore, it is not the right tool to find out where time is spent – use other profilers to profile the CPU usage of an application.

Downloads and Documentation

References

  1. Broman, David (Nov 19, 2012). "CLRProfiler 4.5 released: includes Windows Store app support". David Broman's CLR Profiling API Blog. Microsoft. Retrieved 7 June 2013.