Skip to content

Commit 18f3a2e

Browse files
committed
screenshot updates
1 parent f0db1f1 commit 18f3a2e

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed
Loading
Loading
Loading

docs/profiling/running-profiling-tools-with-or-without-the-debugger.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ To decide which tools and results to use, consider the following options:
2626
- The debugger itself changes performance times, as it does necessary debugger operations like intercepting exception and module load events.
2727
- 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.
2828
- Some tools, such as the .NET Object Allocation tool, are only available for non-debugger scenarios.
29+
2930
- Debug vs. release build
3031
- 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.
3132
- 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
9697

9798
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.
9899

100+
::: moniker range=">=vs-2022"
101+
![Screenshot of diagnostic tools](../profiling/media/vs-2022/perf-profiler-summary-page.png "DIAG_SelectTool")
102+
::: moniker-end
103+
::: moniker range="<=vs-2019"
99104
![Screenshot of diagnostic tools](../profiling/media/diaghubsummarypage.png "DIAG_SelectTool")
105+
::: moniker-end
100106

101107
1. To start the diagnostic session, select **Start**.
102108

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.
104110

105-
![Screenshot of data collection on the Performance Profiler](../profiling/media/diaghubcollectdata.png "Hub collect data")
111+
::: moniker range=">=vs-2022"
112+
![Screenshot of data collection on the Performance Profiler](../profiling/media/vs-2022/perf-profiler-collect-data.png "Diag collect data")
113+
::: moniker-end
114+
::: moniker range="<=vs-2019"
115+
![Screenshot of data collection on the Performance Profiler](../profiling/media/diaghubcollectdata.png "Hub collect data")
116+
::: moniker-end
106117

107118
1. To end the diagnostic session, select **Stop Collection**.
108119

109120
The analyzed data appears on the **Report** page.
110121

111122
You can save the reports, and open them from the **Recently Opened Sessions** list on the Diagnostic Tools launch page.
112123

124+
::: moniker range=">=vs-2022"
125+
![Screenshot of Diagnostic Tools Recently Opened Sessions list](../profiling/media/vs-2022/perf-profiler-open-existing-diag-session.png "PDHUB_OpenExistingDiagSession")
126+
::: moniker-end
127+
::: moniker range="<=vs-2019"
113128
![Screenshot of Diagnostic Tools Recently Opened Sessions list](../profiling/media/diaghubopenexistingdiagsession.png "PDHUB_OpenExistingDiagSession")
129+
::: moniker-end
114130

115131
For more information, see:
116132

0 commit comments

Comments
 (0)