Skip to content

Repo sync for protected CLA branch #8472

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Sep 16, 2022
Merged
13 changes: 7 additions & 6 deletions docs/ide/quickstart-ide-orientation.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
---
title: "Tutorial: Tour of the Visual Studio IDE"
title: "Tour the Visual Studio IDE"
description: Learn about some of the windows, menus, and other UI features of the Visual Studio integrated development environment (IDE).
ms.custom: vs-acquisition
titleSuffix: ''
ms.date: 09/14/2021
ms.topic: tutorial
ms.date: 09/13/2022
ms.topic: conceptual
author: anandmeg
ms.author: meghaanand
manager: jmartens
ms.technology: vs-ide-general
ms.workload:
- multiple
f1_keywords:
- MSDNSTART
---
# Tutorial: First look at the Visual Studio IDE
# Tour the Visual Studio IDE

[!INCLUDE [Visual Studio](~/includes/applies-to-version/vs-windows-only.md)]

In this 5-10 minute introduction to the Visual Studio integrated development environment (IDE), we'll take a tour of some of the windows, menus, and other UI features.
In this introduction to the Visual Studio integrated development environment (IDE), we'll take a tour of some of the windows, menus, and other UI features.

If you haven't already installed Visual Studio, go to the [Visual Studio downloads](https://visualstudio.microsoft.com/downloads) page to install it for free.


::: moniker range="vs-2019"

## Start window
Expand Down
4 changes: 2 additions & 2 deletions docs/install/visual-studio-build-numbers-and-release-dates.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: Visual Studio build numbers and release dates
titleSuffix: ''
description: A list of released versions and build numbers for Visual Studio, sorted by date.
author: rjmolyneaux
ms.author: rmolyneaux
author: TerryGLee
ms.author: tglee
manager: jmartens
ms.date: 09/14/2022
ms.custom: vs-acquisition
Expand Down
32 changes: 32 additions & 0 deletions docs/profiling/cpu-insights.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: Diagnose high latency with CPU Insights
description: Use CPU Insights to diagnose and optimize your code's performance
ms.custom: SEO-VS-2020
ms.date: 07/14/2022
ms.topic: how-to
ms.assetid: 7501a20d-04a1-480f-a69c-201524aa709d
author: mikejo5000
ms.author: mikejo
manager: jmartens
ms.technology: vs-ide-debug
monikerRange: '>= vs-2022'
ms.workload:
- multiple
---
# Diagnose high latency with CPU Insights

**CPU Insights** is a subfeature of the CPU Usage tool that shows common potential latency issues like concatenating strings inefficiently.

## Viewing Top Insights
The **Top Insights** section in the CPU Usage tool shows quick CPU details, insights, and suggestions in the description so that you can continue diagnosing the issue. The **Learn more** link shows you in-depth documentation that explains your issue. If you need more information, **View source code** shows more details. Once selected, you can see the call tree view, showing the process, functions, and which callers use the most CPU.

![Screenshot showing Top Insights selected.](./media/vs-2022/top-insights.png "Top Insights selected")

On the summary page under Top Functions, you can find the top functions called with the time spent in descending order. Total CPU time is the amount of time spent inside a function, including any functions it calls, whereas Self CPU is time spent exclusively in the function.

**Hot Path** shows where most of the CPU time was being spent in your application and helps focus investigation on the area that would have the most impact. Analyzing this code path by using other tools in the Performance Profiler can help identify ways to improve the code as well. For example, it may help identify how to minimize allocations on the hot path to reduce GC frequency and time spent in GC.

![Screenshot showing Hot Path selected.](./media/vs-2022/hot-path.png "Hot Path selected")

## See also
- [Analyze CPU usage in the Performance Profiler](../profiling/cpu-usage.md)
Binary file added docs/profiling/media/vs-2022/hot-path.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/profiling/media/vs-2022/top-insights.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions docs/profiling/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@
- name: Events Viewer
href: events-viewer.md
- name: CPU Usage
href: cpu-usage.md
- name: CPU Insights
items:
- name: CPU usage
href: cpu-usage.md
- name: CPU Insights
href: cpu-insights.md
- name: Performance insights
items:
- name: String concatenation
Expand Down
6 changes: 3 additions & 3 deletions docs/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
href: get-started/tutorial-editor.md
- name: About projects and solutions
href: get-started/tutorial-projects-solutions.md
- name: Tour the Visual Studio IDE
displayName: Feature tour
href: ide/quickstart-ide-orientation.md
- name: More Visual Studio features
href: ide/advanced-feature-overview.md
expanded: true
Expand Down Expand Up @@ -136,9 +139,6 @@
href: help-viewer/installation.md
- name: Tutorials
items:
- name: Visual Studio IDE
displayName: Feature tour
href: ide/quickstart-ide-orientation.md
- name: C++ >>
href: /cpp/get-started/tutorial-console-cpp
- name: C# >>
Expand Down
3 changes: 1 addition & 2 deletions docs/windows/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ metadata:
description: Learn how to use Visual Studio to develop applications, services, and tools in the language of your choice, for any platform or device.
ms.topic: hub-page
ms.custom: contperf-fy21q1
ms.date: 11/08/2021
ms.date: 09/13/2022
ms.author: jmartens
author: j-martens
monikerRange: ">=vs-2019"
f1_keywords:
- MSDNSTART
- vs.about

highlightedContent:
Expand Down