JetBrains Rider 2019.2 Help

Performance Profiling of .NET Code

The goal of performance profiling is finding a cause of performance problems in an application. This includes, for example, a straightforward "what is the slowest method?" analysis, as well as more complicated analysis of performance bottlenecks related to CPU starvation, blocking garbage collection, disk I/O, and other issues.

JetBrains Rider integrates with the dotTrace profiler to provide performance profiling of .NET applications. You can use the profiler via the Performance Profiler tool window.

Limitations

Note that not all dotTrace features are yet available in JetBrains Rider. Thus, the integrated profiler provides only two views for analyzing snapshots: Call Tree and Top Methods. To get the entire feature set, you should open profiling snapshots in the standalone version of dotTrace (Windows only).

Installation and licensing

dotTrace is provided as a bundled plugin for Rider, and installed along with Rider automatically with no additional actions needed. If for some reason you want to disable dotTrace, you can do this via Rider's Plugins settings.

Note that dotTrace is available in Rider only for the owners of ReSharper Ultimate + Rider or All Products Pack subscriptions.

Supported operating systems and frameworks

Windows

macOS

Linux

.NET Framework 1.0 – 4.7

JetBrains Rider, Visual Studio, standalone, console tool

n/a

n/a

.NET Core 1.0 – 3.0

JetBrains Rider, Visual Studio, standalone, console tool.                              Attaching is available only to .NET Core 3.0 Preview 7 (or later) processes Not supported Not supported

Mono 5.10 and later

JetBrains Rider, Visual Studio, standalone, console tool 64-bit processes only. JetBrains Rider 64-bit processes only. JetBrains Rider

Mono Unity 2018.3 and later

JetBrains Rider, Visual Studio, standalone, console tool JetBrains Rider JetBrains Rider
Last modified: 16 August 2019