Skip to content

Commit aecf790

Browse files
authored
Merge pull request #5718 from andysterland/andster-removeNetworkTool
Removing network and energy tool from VS2019 docs
2 parents ab18c9d + 344512e commit aecf790

7 files changed

+27
-4
lines changed

docs/debugger/debugger-tips-and-tricks.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ If you need to debug the kinds of issues that are common to multithreaded apps,
134134

135135
You can also view the location of threads in the [Parallel Stacks window](../debugger/get-started-debugging-multithreaded-apps.md).
136136

137+
::: moniker range="vs-2017"
137138
## Examine payloads for web services and network resources (UWP)
138139

139140
In UWP apps, you can analyze network operations performed using the `Windows.Web.Http` API. You can use this tool to help debug web services and network resources. To use the tool, select **Debug > Performance Profiler**. Select **Network**, and then choose **Start**. In your app, go through the scenario that uses `Windows.Web.Http`, and then choose **Stop collection** to generate the report.
@@ -145,6 +146,7 @@ Select an operation in the summary view to view more details.
145146
![Detailed information in the Network Usage tool](../profiling/media/prof-tour-network-usage-details.png "DetailedViewNetworkUsage")
146147

147148
For more information, see [Network Usage](../profiling/network-usage.md).
149+
::: moniker-end
148150

149151
## <a name="modules_window"></a> Get more familiar with how the debugger attaches to your app (C#, C++, Visual Basic, F#)
150152

docs/debugger/run-windows-store-apps-in-the-simulator.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,9 @@ For more information about managing network connections, see:
137137

138138
[Network information sample](https://code.msdn.microsoft.com/windowsapps/Network-Information-Sample-63aaa201)
139139

140+
::: moniker range="vs-2017"
140141
[Analyze energy use](../profiling/analyze-energy-use-in-store-apps.md)
142+
::: moniker-end
141143

142144
[Windows.Networking.Connectivity](/uwp/api/windows.networking.connectivity)
143145

docs/profiling/analyze-energy-use-in-store-apps.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ ms.author: "mikejo"
1313
manager: jillfra
1414
ms.workload:
1515
- "uwp"
16+
monikerRange: vs-2017
1617
---
1718
# Analyze energy use in UWP apps
1819

docs/profiling/network-usage.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ms.author: "mikejo"
99
manager: jillfra
1010
ms.workload:
1111
- "multiple"
12+
monikerRange: vs-2017
1213
---
1314
# Analyze network usage in UWP apps
1415
The Visual Studio **Network** diagnostics tool collects data about network operations performed using the [Windows.Web.Http API](/uwp/api/windows.web.http). Analyzing the data can help you resolve issues like access and authentication problems, incorrect cache-use, and poor display and download performance.

docs/profiling/profiling-feature-tour.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ To diagnose UI responsiveness, slow loading time, and slow visual updates in UWP
127127
![HTML UI Responsiveness profiling tool](../profiling/media/diaghtmlresp.png "DiagHTMLResp")
128128
::: moniker-end
129129

130+
::: moniker range="vs-2017"
130131
## Analyze network usage (UWP)
131132

132133
In UWP apps, you can analyze network operations performed using the `Windows.Web.Http` API.This tool may help you to resolve issues like access and authentication problems, incorrect cache-use, and poor display and download performance. To use the tool, choose **Network** in the Performance Profiler, and then choose **Start**. In your app, go through the scenario that uses `Windows.Web.Http`, and then choose **Stop collection** to generate the report.
@@ -138,6 +139,7 @@ Select an operation in the summary view to view more details.
138139
![Detailed information in the Network Usage tool](../profiling/media/prof-tour-network-usage-details.png "Diag Network Usage Details")
139140

140141
For more information, see [Network Usage](../profiling/network-usage.md).
142+
::: moniker-end
141143

142144
## Analyze performance (legacy tools)
143145

@@ -149,6 +151,19 @@ If you need features such as instrumentation that are not currently present in C
149151

150152
Here is a table that lists the different tools Visual Studio offers and the different project types you can use them with:
151153

154+
::: moniker range=">=vs-2019"
155+
|Performance Tool|Windows desktop|UWP|ASP.NET/ASP.NET Core|
156+
|----------------------|---------------------|-------------|-------------|
157+
|[CPU Usage](../profiling/cpu-usage.md)|yes|yes|yes|
158+
|[Memory Usage](../profiling/memory-usage.md)|yes|yes|yes|
159+
|[GPU Usage](../debugger/gpu-usage.md)|yes|yes|no|
160+
|[Application Timeline](../profiling/application-timeline.md)|yes|yes|no|
161+
|[PerfTips](../profiling/perftips.md)|yes|yes for XAML, no for HTML|yes|
162+
|[Performance Explorer](../profiling/performance-explorer.md)|yes|no|yes|
163+
|[IntelliTrace](../debugger/intellitrace.md)|.NET with Visual Studio Enterprise only|.NET with Visual Studio Enterprise only|.NET with Visual Studio Enterprise only|
164+
::: moniker-end
165+
166+
::: moniker range="vs-2017"
152167
|Performance Tool|Windows desktop|UWP|ASP.NET/ASP.NET Core|
153168
|----------------------|---------------------|-------------|-------------|
154169
|[CPU Usage](../profiling/cpu-usage.md)|yes|yes|yes|
@@ -161,6 +176,8 @@ Here is a table that lists the different tools Visual Studio offers and the diff
161176
|[Network Usage](../profiling/network-usage.md)|no|yes|no|
162177
|[HTML UI responsiveness](../profiling/html-ui-responsiveness.md)|no|yes for HTML, no for XAML|no|
163178
|[JavaScript Memory](../profiling/javascript-memory.md)|no|yes for HTML, no for XAML|no|
179+
::: moniker-end
180+
164181

165182
## See also
166183
- [Debugging in Visual Studio](/visualstudio/debugger/debugger-feature-tour)

docs/vs-2015/debugger/run-windows-store-apps-in-the-simulator.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ The Visual Studio simulator for Windows Store apps is a desktop application that
8080
You can switch the device orientation between portrait and landscape by rotating the simulator 90 degrees in any direction.
8181

8282
> [!NOTE]
83-
> The simulator does not respect [DisplayProperties.AutoRotationPreferences](http://go.microsoft.com/fwlink/?LinkId=249460) property of a project. For example, if your project sets the orientation to `Landscape`, and you then rotate the simulator to a portrait orientation, the simulator display image will also be rotated and resized. Test these settings on an actual device.
83+
> The simulator does not respect [DisplayProperties.AutoRotationPreferences](https://go.microsoft.com/fwlink/?LinkId=249460) property of a project. For example, if your project sets the orientation to `Landscape`, and you then rotate the simulator to a portrait orientation, the simulator display image will also be rotated and resized. Test these settings on an actual device.
8484
8585
> [!NOTE]
8686
> If you rotate the simulator so that one edge of the simulator is larger than the screen it is displayed on, the simulator is automatically resized to fit within the screen. The simulator is not resized to its original size if you rotate it again.
@@ -132,10 +132,10 @@ The Visual Studio simulator for Windows Store apps is a desktop application that
132132

133133
[Quickstart: Managing metered network cost constraints](https://msdn.microsoft.com/library/windows/apps/Hh750310.aspx)
134134

135-
[Network information sample](http://code.msdn.microsoft.com/windowsapps/Network-Information-Sample-63aaa201)
135+
[Network information sample](https://code.msdn.microsoft.com/windowsapps/Network-Information-Sample-63aaa201)
136136

137137
[Analyze energy use](../profiling/analyze-energy-use-in-store-apps.md)
138-
138+
139139
[Windows.Networking.Connectivity](https://msdn.microsoft.com/library/windows/apps/windows.networking.connectivity.aspx)
140140

141141
[How to respond to system events with background tasks](https://msdn.microsoft.com/f7c86e86-a7ae-4abb-a923-76b03337a80a)

docs/vs-2015/profiling/analyze-cpu-usage-in-a-windows-universal-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ robots: noindex,nofollow
2121

2222
Applies to Windows and Windows Phone](../Image/windows_and_phone_content.png "windows_and_phone_content")
2323

24-
When you need to investigate performance issues in your app, a good place to start is understanding how it uses the CPU. The **CPU Usage** tool shows you where the CPU is spending time executing code. To focus on specific scenarios, CPU Usage can be run with the [XAML UI Responsiveness](https://msdn.microsoft.com/library/4ff84cd1-4e63-4fda-b34f-3ef862a6e480) tool, the [Energy Consumption](../profiling/analyze-energy-use-in-store-apps.md) tool, or both tools in a single diagnostic session.
24+
When you need to investigate performance issues in your app, a good place to start is understanding how it uses the CPU. The **CPU Usage** tool shows you where the CPU is spending time executing code. To focus on specific scenarios, CPU Usage can be run with the [XAML UI Responsiveness](https://msdn.microsoft.com/library/4ff84cd1-4e63-4fda-b34f-3ef862a6e480) tool, the [CPU Usage Tool](../profiling/cpu-usage.md) tool, or both tools in a single diagnostic session.
2525

2626
> [!NOTE]
2727
> The **CPU Usage** tool cannot be used with Windows Phone Silverlight 8.1 apps.

0 commit comments

Comments
 (0)