Performance Profiler window
This window allows you to profile and analyze performance bottlenecks in .NET applications.
The Performance Profiler is a multi-tab window consisting of:
The All Snapshots tab used to open collected snapshots
The Profiling tab used to control a profiling session.
Analysis tabs used to analyze collected performance snapshots.
All Snapshots tab
The All Snapshots tab is used to open previously collected snapshots. The tab contains a table with four columns each showing the corresponding snapshot parameter: Date, Application, Type, and Size. The field on the top shows an absolute path to the snapshot file.
To open a snapshot, double-click it.
After you start a profiling session, the Performance Profiler window will be opened on the Profiling tab. The tab allows you to manually control the session using the buttons on the toolbar:
Start collecting performance data.
Generate a snapshot and stop collecting performance data.
Discard the collected performance data and restart collecting.
Detach | Detach All
Detach dotTrace from the profiled process | processes, but keep the process(es) running. Not available when using the Tracing or Line-by-line profiling types. The snapshot is not taken.
Kill | Kill All
Kill the profiled process | processes. The snapshot is not taken.
IMPORTANT: the profiler will automatically get a snapshot if you close the profiled application or the application successfully finishes working.
The Profiling tab contains two lists:
The list of profiled processes on the left.
The list of collected snapshots on the right. The row marked with the icon indicates the currently collected data.
Snapshot analysis tabs
After you double-click a snapshot on the All Snapshots tab, the snapshot will be opened in a separate tab of the Performance Profiler window. The tab will be named after the name of the profiled process.
Use the analysis tab to analyze the snapshot: find the slowest methods, navigate through the call tree, and so on.
The tab consists of two views: