You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/profiling/running-profiling-tools-with-or-without-the-debugger.md
+18-2Lines changed: 18 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ To decide which tools and results to use, consider the following options:
26
26
- The debugger itself changes performance times, as it does necessary debugger operations like intercepting exception and module load events.
27
27
- Release build performance numbers in the Performance Profiler are the most precise and accurate. Debugger-integrated tool results are most useful to compare with other debugging-related measurements, or to use debugger features.
28
28
- Some tools, such as the .NET Object Allocation tool, are only available for non-debugger scenarios.
29
+
29
30
- Debug vs. release build
30
31
- For problems caused by CPU-intensive calls, there might be considerable performance differences between release and debug builds. Check to see whether the issue exists in release builds.
31
32
- If the problem occurs only during debug builds, you probably don't need to run the non-debugger tools. For release build problems, decide whether features provided by the debugger-integrated tools will help to pinpoint the problem.
@@ -96,21 +97,36 @@ To collect performance data without debugging, you can run the Performance Profi
96
97
97
98
1. On the diagnostic tools launch page, select one or more tools to run. Only the tools that are applicable to the project type, operating system, and programming language are shown. Select **Show all tools** to also see tools that are disabled for this diagnostic session.
98
99
100
+
::: moniker range=">=vs-2022"
101
+

102
+
::: moniker-end
103
+
::: moniker range="<=vs-2019"
99
104

105
+
::: moniker-end
100
106
101
107
1. To start the diagnostic session, select **Start**.
102
108
103
-
While the session is running, some tools show graphs of real-time data on the diagnostic tools page, and controls to pause and resume data collection.
109
+
While the session is running, some tools show graphs of real-time data on the diagnostic tools page, and might show options to pause and resume data collection.
104
110
105
-

111
+
::: moniker range=">=vs-2022"
112
+

113
+
::: moniker-end
114
+
::: moniker range="<=vs-2019"
115
+

116
+
::: moniker-end
106
117
107
118
1. To end the diagnostic session, select **Stop Collection**.
108
119
109
120
The analyzed data appears on the **Report** page.
110
121
111
122
You can save the reports, and open them from the **Recently Opened Sessions** list on the Diagnostic Tools launch page.
112
123
124
+
::: moniker range=">=vs-2022"
125
+

126
+
::: moniker-end
127
+
::: moniker range="<=vs-2019"
113
128

0 commit comments