Skip to content

Commit dc00f2f

Browse files
Merge pull request #11057 from MicrosoftDocs/main638935744780602424sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 80f8ba9 + 88c841e commit dc00f2f

12 files changed

+35
-6
lines changed

docs/debugger/debug-with-copilot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Debug with GitHub Copilot
33
description: Use Copilot to help debug your apps and provide performance insights.
44
ms.date: 9/12/2025
5-
ms.update-cycle: 180-days
5+
ms.update-cycle: 90-days
66
ms.topic: how-to
77
dev_langs:
88
- CSharp

docs/debugger/getting-started-with-the-debugger-cpp.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ helpviewer_keywords:
1111
author: mikejo5000
1212
ms.author: mikejo
1313
manager: mijacobs
14+
ms.update-cycle: 90-days
1415

1516
#customer intent: As a developer, I want to use Visual Studio debugger features like stepping through my application code, viewing the call stack, setting command-line arguments, and inspecting data values.
1617
---

docs/get-started/csharp/tutorial-debugger.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ helpviewer_keywords:
1111
author: mikejo5000
1212
ms.author: mikejo
1313
manager: mijacobs
14+
ms.update-cycle: 90-days
1415
---
1516
# Tutorial: Learn to debug C# code using Visual Studio
1617

docs/javascript/tutorial-asp-net-core-with-angular.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ dev_langs:
1212
- JavaScript
1313
monikerRange: '>= vs-2022'
1414
ms.custom: sfi-image-nochange
15+
ms.update-cycle: 90-days
1516
---
1617
# Tutorial: Create an ASP.NET Core app with Angular in Visual Studio
1718

docs/javascript/tutorial-asp-net-core-with-react.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ ms.subservice: javascript-typescript
1111
dev_langs:
1212
- JavaScript
1313
monikerRange: '>= vs-2022'
14+
ms.update-cycle: 90-days
1415
---
1516
# Tutorial: Create an ASP.NET Core app with React in Visual Studio
1617

docs/profiling/beginners-guide-to-performance-profiling.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ author: mikejo5000
1212
ms.author: mikejo
1313
manager: mijacobs
1414
ms.subservice: debug-diagnostics
15+
ms.update-cycle: 90-days
1516
---
1617

1718
# Measure application performance by analyzing CPU utilization (C#, Visual Basic, C++, F#)
19.7 KB
Loading

docs/profiling/memory-usage.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ author: mikejo5000
77
ms.author: mikejo
88
manager: mijacobs
99
ms.subservice: debug-diagnostics
10+
ms.update-cycle: 90-days
1011
---
1112
# Measure memory usage in Visual Studio (C#, Visual Basic, C++, F#)
1213

docs/profiling/profile-with-copilot-agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Profile with GitHub Copilot
33
description: Use the Copilot Profiler Agent in Visual Studio to collect CPU and memory traces and get AI-driven performance insights and fixes.
44
ms.date: 9/2/2025
5-
ms.update-cycle: 180-days
5+
ms.update-cycle: 90-days
66
ms.topic: how-to
77
dev_langs:
88
- CSharp

docs/profiling/profiling-with-benchmark-dotnet.md

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Analyze BenchmarkDotNet data in Visual Studio"
33
description: Learn how to profile console apps using BenchmarkDotNet.
4-
ms.date: 01/27/2025
4+
ms.date: 09/15/2025
55
ms.topic: conceptual
66
dev_langs:
77
- "CSharp"
@@ -40,11 +40,28 @@ Each diagnoser generates performance data related to that diagnoser. For example
4040
- [BenchmarkDotNET](https://www.nuget.org/packages/BenchmarkDotNet/)
4141
- [Microsoft.VisualStudio.DiagnosticsHub.BenchmarkDotNetDiagnosers](https://www.nuget.org/packages/Microsoft.VisualStudio.DiagnosticsHub.BenchmarkDotNetDiagnosers)
4242

43-
## Collect Benchmark.NET data
43+
::: moniker range=">=visualstudio"
44+
If you use the Benchmark project template, these NuGet packages are present when you create the project.
45+
::: moniker-end
46+
47+
## Create your project
48+
49+
::: moniker range=">=visualstudio"
50+
The benchmark functions must be added to a .NET console application. These functions can be wrapper functions that reference other project types.
51+
52+
You can either create a console project and add BenchmarkDotNet support manually, or use the **Benchmark Project** template. Some of the steps described in this article are required only when you manually add BenchmarkDotNet support.
4453

45-
1. Create a console project.
54+
The **Benchmark Project** template generates a fully integrated BenchmarkDotNet project with built-in support for CPU Usage profiling and Copilot insights. To use the template, select **Profiling** from the project types list when you create a new project, and then choose **Benchmark Project**.
4655

47-
The benchmark functions must be added to a .NET console application. These functions can be wrapper functions that reference other project types.
56+
![Screenshot of BenchmarkDotNet template in Visual Studio.](../profiling/media/visualstudio/benchmark-dotnet-template.png)
57+
::: moniker-end
58+
::: moniker range="vs-2022"
59+
Create a console project.
60+
61+
The benchmark functions must be added to a .NET console application. These functions can be wrapper functions that reference other project types.
62+
::: moniker-end
63+
64+
## Collect Benchmark.NET data
4865

4966
1. Set your build to a Release build instead of a Debug build.
5067

@@ -54,6 +71,10 @@ Each diagnoser generates performance data related to that diagnoser. For example
5471

5572
For example, you can use the following code for the CPUUsageDiagnoser.
5673

74+
::: moniker range=">=visualstudio"
75+
If you're using the **Benchmark Project** template, sample code is already provided in the template. If you're manually adding BenchmarkDotNet support, you can use the following example code.
76+
::: moniker-end
77+
5778
```csharp
5879
using System;
5980
using System.Security.Cryptography;

0 commit comments

Comments
 (0)