ReSharper
 
Get ReSharper
You are viewing the documentation for an earlier version of ReSharper.

Dynamic Program Analysis (DPA)

Last modified: 21 July 2022

Dynamic Program Analysis (or DPA) is a process that runs in the background of ReSharper and checks your application for various memory allocation issues. It currently checks for closures and allocations to large and small object heaps (LOH and SOH). DPA is started automatically each time you run your solution in ReSharper. The allocation data is collected with almost zero overhead: we have tested DPA on a variety of real solutions getting the slowdown from 0 to 2 percent.

To ease the understanding of DPA, you can think of it as of profiling that is always turned on: You do not need to run a profiler, start a profiling session, and get snapshots. Just work as usual, and all data will be collected in the background when you run your solution.

https://resources.jetbrains.com/help/img/dotnet/2022.1/dpa_get_started_resharper.png
Gif

See Getting started with DPA for more details.