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.
Note that not all dotTrace features are yet available in JetBrains Rider. The integrated profiler has following limitations:
Only two views for analyzing snapshots are available: Call Tree and Top Methods.
Timeline snapshots are shown as regular (Sampling) snapshots with four basic filters available:
by thread state,
To get all the benefits of Timeline profiling analysis (UI freezes, garbage collection, I/O operations, memory allocation, etc.), you should open the Timeline snapshots in the standalone version of dotTrace.
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
.NET Framework 1.0 – 4.7
.NET Core 1.0 – 3.0
Mono 5.10 and later
Mono Unity 2018.3 and later