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/javascript/tutorial-asp-net-core-with-angular.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -148,7 +148,7 @@ Starting in Visual Studio 2022 version 17.3, you can publish the integrated solu
148
148
</ProjectReference>
149
149
```
150
150
151
-
1. Right-click the ASP.NET Core project and choose **Reload Project**.
151
+
1. Right.click the ASP.NET Core project and choose **Reload Project**.
152
152
153
153
1. To publish, right click the ASP.NET Core project, choose **Publish**, and select options to match your desired publish scenario, such as Azure, publish to a folder, et al.
Copy file name to clipboardExpand all lines: docs/javascript/tutorial-asp-net-core-with-react.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -146,7 +146,7 @@ Starting in Visual Studio 2022 version 17.3, you can publish the integrated solu
146
146
</ProjectReference>
147
147
```
148
148
149
-
1. Right-click the ASP.NET Core project and choose **Reload Project**.
149
+
1. Right.click the ASP.NET Core project and choose **Reload Project**.
150
150
151
151
1. To publish, right click the ASP.NET Core project, choose **Publish**, and select options to match your desired publish scenario, such as Azure, publish to a folder, et al.
Copy file name to clipboardExpand all lines: docs/profiling/profiling-feature-tour.md
+29-25Lines changed: 29 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "First look at profiling tools"
3
3
description: "Take a brief look at the different diagnostic tools available in Visual Studio."
4
-
ms.date: 12/22/2021
4
+
ms.date: 08/18/2022
5
5
ms.topic: conceptual
6
6
f1_keywords:
7
7
- vs.diagnosticshub.overview
@@ -175,23 +175,6 @@ When you select one of the arrow links, you are given a differential view of the
175
175
176
176
If you click the link on the left instead in the **Memory Usage** view, the heap view is organized by object count; the objects of a particular type that increased the most in number are shown at the top (sorted by **Count Diff** column).
177
177
178
-
## Analyze resource consumption (XAML)
179
-
180
-
In XAML apps, such as Windows desktop WPF apps and UWP apps, you can analyze resource consumption using the Application Timeline tool. For example, you can analyze the time spent by your application preparing UI frames (layout and render), servicing network and disk requests, and in scenarios like application startup, page load, and Window resize. To use the tool, choose **Application Timeline** in the Performance Profiler, and then choose **Start**. In your app, go through the scenario with a suspected resource consumption issue, and then choose **Stop collection** to generate the report.
181
-
182
-
Low framerates in the **Visual throughput** graph may correspond to visual problems that you see when running your app. Similarly, high numbers in the **UI thread utilization** graph may also correspond to UI responsiveness issues. In the report, you can select a time period with a suspected performance issue, and then examine the detailed UI thread activities in the Timeline details view (lower pane).
183
-
184
-
::: moniker range=">=vs-2022"
185
-

186
-
::: moniker-end
187
-
::: moniker range="<=vs-2019"
188
-

189
-
::: moniker-end
190
-
191
-
In the Timeline details view, you can find information such as the type of activity (or the UI element involved) along with the duration of the activity. For example, in the illustration, a **Layout** event for a Grid control takes 57.53 ms.
192
-
193
-
For more information, see [Application Timeline](../profiling/application-timeline.md).
194
-
195
178
::: moniker range=">=vs-2022"
196
179
## Analyze asynchronous code (.NET)
197
180
@@ -201,7 +184,6 @@ The tool shows each async operation in a list view. You can see information such
The generic [events viewer](../profiling/events-viewer.md) allows you to view the activity of your application through a list of events, such as module load, thread start, and system configurations, to help better diagnose how your application is performing right within the Visual Studio profiler. This tool is available in the Performance Profiler. Open the Performance Profiler by choosing **Debug** > **Performance Profiler** (or **Alt + F2**).
@@ -222,6 +202,18 @@ The tool shows each event in a list view. Columns provide information about each
The [File I/O tool](../profiling/use-file-io.md) helps you understand how you can optimize your File I/O operations to improve performance in your apps. If you’re trying to investigate and diagnose slow loading times, the new File IO tool can help you understand how the I/O operations impact your spent time. This tool is available in the Performance Profiler. Open the Performance Profiler by choosing Debug > Performance Profiler (or Alt + F2).
210
+
211
+
The tool shows file read and file write operations in a tabbed list view.
For .NET Core apps that use ADO.NET or Entity Framework Core, the [Database tool](../profiling/analyze-database.md) allows you to record the database queries that your application makes during a diagnostic session. You can then analyze information about individual queries in order to find places where your app's performance can be improved. This tool is available in the Performance Profiler. Open the Performance Profiler by choosing **Debug** > **Performance Profiler** (or **Alt + F2**).
@@ -238,8 +230,23 @@ The tool shows live values for each counter in a list view.
In XAML apps, such as Windows desktop WPF apps and UWP apps, you can analyze resource consumption using the Application Timeline tool. For example, you can analyze the time spent by your application preparing UI frames (layout and render), servicing network and disk requests, and in scenarios like application startup, page load, and Window resize. To use the tool, choose **Application Timeline** in the Performance Profiler, and then choose **Start**. In your app, go through the scenario with a suspected resource consumption issue, and then choose **Stop collection** to generate the report.
236
+
237
+
Low framerates in the **Visual throughput** graph may correspond to visual problems that you see when running your app. Similarly, high numbers in the **UI thread utilization** graph may also correspond to UI responsiveness issues. In the report, you can select a time period with a suspected performance issue, and then examine the detailed UI thread activities in the Timeline details view (lower pane).
238
+
239
+
::: moniker range=">=vs-2022"
240
+

241
+
::: moniker-end
242
+
::: moniker range="<=vs-2019"
243
+

241
244
::: moniker-end
242
245
246
+
In the Timeline details view, you can find information such as the type of activity (or the UI element involved) along with the duration of the activity. For example, in the illustration, a **Layout** event for a Grid control takes 57.53 ms.
247
+
248
+
For more information, see [Application Timeline](../profiling/application-timeline.md).
249
+
243
250
## Examine UI performance and accessibility events (UWP)
244
251
245
252
In your UWP apps, you can enable **UI Analysis** in the **Diagnostic Tools** window. The tool searches for common performance or accessibility issues and displays them in the **Events** view while you are debugging. The event descriptions provide information that can help resolve issues.
@@ -266,13 +273,10 @@ When you select a time period in the graphs and choose **view details**, a detai
266
273
267
274
You can also use the graphs to determine whether there are CPU bound or GPU bound performance bottlenecks.
268
275
269
-
270
-
271
276
## Analyze performance (legacy tools)
272
277
273
-
274
278
::: moniker range=">=vs-2019"
275
-
In Visual Studio 2019, the legacy Performance Explorer and related profiling tools such as the Performance Wizard were folded into the Performance Profiler, which you can open using **Debug** > **Performance Profiler**. In the Performance Profiler, the available diagnostics tools depend on the target chosen and the current, open startup project. The CPU Usage tool provides the sampling capability previously supported in the Performance Wizard. The Instrumentation tool provides the instrumented profiling capability (for precise call counts and durations) that was in the Performance Wizard. Additional memory tools also appear in the Performance Profiler.
279
+
Starting in Visual Studio 2019, the legacy Performance Explorer and related profiling tools such as the Performance Wizard were folded into the Performance Profiler, which you can open using **Debug** > **Performance Profiler**. In the Performance Profiler, the available diagnostics tools depend on the target chosen and the current, open startup project. The CPU Usage tool provides the sampling capability previously supported in the Performance Wizard. The Instrumentation tool provides the instrumented profiling capability (for precise call counts and durations) that was in the Performance Wizard. Additional memory tools also appear in the Performance Profiler.
276
280
::: moniker-end
277
281
278
282

Select **File Reads** to view all the File Reads on one page and select **File Writes** for writes. If you right-click on one of the rows, you can go to the source in your code. If an aggregate row was read multiple times, expand it to see the individual read operations for that file with its frequency, if they were read multiple times.
0 commit comments