Skip to content

Commit 0a3ea08

Browse files
Merge pull request #11433 from Mikejo5000/mikejo-br20
Update get started links for profiling tools
2 parents 8a6edda + c4d4520 commit 0a3ea08

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,11 @@ Use the search box to find a node that you are looking for, then use the horizon
207207
208208
## Next steps
209209

210+
In this tutorial, you've learned how to collect and analyze CPU usage data. If you already completed the [tour of the profiler](../profiling/profiling-feature-tour.md), you may want to read about a general approach to optimizing code using the profiling tools.
211+
212+
> [!div class="nextstepaction"]
213+
> [Reduce compute costs by using profiling tools](../profiling/optimize-code-using-profiling-tools.md)
214+
210215
In this tutorial, you've learned how to collect and analyze CPU usage data while debugging. You may want to find out more about profiling release builds using the Performance Profiler.
211216

212217
> [!div class="nextstepaction"]

docs/profiling/choose-performance-tool.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ms.workload:
2020

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

23-
Visual Studio provides a variety of profiling tools to help you diagnose different kinds of app performance issues depending on your app type. In this article, we provide information to help you find the right tool for your scenario and application type.
23+
Visual Studio provides a variety of profiling tools to help you diagnose different kinds of app performance issues depending on your app type. In this article, we provide information to help you find the right tool for your scenario and application type. For a general approach to optimizing code using the profiling tools, see [Reduce compute costs by using profiling tools](../profiling/optimize-code-using-profiling-tools.md).
2424

2525
## Which tool should I use?
2626

docs/profiling/memory-usage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,10 +329,10 @@ The change report adds columns (marked with **(Diff)**) to the base report that
329329

330330
## Next steps
331331

332-
In this tutorial, you've learned how to collect and analyze memory usage data. If you already completed the [tour of the profiler](../profiling/profiling-feature-tour.md), you may want to get a quick look at how to analyze CPU usage in your apps.
332+
In this tutorial, you've learned how to collect and analyze memory usage data. If you already completed the [tour of the profiler](../profiling/profiling-feature-tour.md), you may want to read about a general approach to optimizing code using the profiling tools.
333333

334334
> [!div class="nextstepaction"]
335-
> [Analyze CPU usage](../profiling/beginners-guide-to-performance-profiling.md)
335+
> [Reduce compute costs by using profiling tools](../profiling/optimize-code-using-profiling-tools.md)
336336
337337
In this tutorial, you've learned how to collect and analyze memory usage data while debugging. You may want to find out more about analyzing memory usage in release builds using the Performance Profiler.
338338

docs/profiling/optimize-code-using-profiling-tools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ SELECT "b"."Url", "b"."BlogId", "p"."PostId", "p"."Author", "p"."BlogId", "p"."C
7070
FROM "Blogs" AS "b" LEFT JOIN "Posts" AS "p" ON "b"."BlogId" = "p"."BlogId" ORDER BY "b"."BlogId"
7171
```
7272

73-
To see what's going on with the app in terms of memory usage, collect a trace using the .NET Object Allocation tool. The **Call Tree** view in the memory trace shows the hot path and helps you identify an area of high memory usage. No surprise at this point, the `GetBlogTitleX` method appears to be generating a lot of objects! Over 900,000 object allocations, in fact.
73+
To see what's going on with the app in terms of memory usage, collect a trace using the .NET Object Allocation tool (For C++, use the Memory Usage tool instead). The **Call Tree** view in the memory trace shows the hot path and helps you identify an area of high memory usage. No surprise at this point, the `GetBlogTitleX` method appears to be generating a lot of objects! Over 900,000 object allocations, in fact.
7474

7575
:::image type="content" source="./media/optimize-code-dotnet-object-allocations.png" alt-text="Screenshot of Call Tree view in the .NET Object Allocation tool.":::
7676

docs/profiling/profiling-feature-tour.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ There are several ways to diagnose performance issues when you’re working with
3333

3434
In software engineering, a profiler is a tool used to help you analyze the performance of your applications to improve poorly performing code. Profiling and diagnostics tools help you diagnose memory and CPU usage and other application-level issues. With these tools, you can collect performance data while you run your application.
3535

36-
A profiler can help you make informed decisions quickly by providing a visual depiction of execution times and CPU usage for your application. It’s much easier and quicker to understand issues and fix them when you can see a graph of the execution times or the CPU usage. For information on using the tools to help optimize your code, see [Reduce compute costs by using profiling tools](../profiling/optimize-code-using-profiling-tools.md).
36+
A profiler can help you make informed decisions quickly by providing a visual depiction of execution times and CPU usage for your application. It’s much easier and quicker to understand issues and fix them when you can see a graph of the execution times or the CPU usage. For a general approach to optimizing code using the profiling tools, see [Reduce compute costs by using profiling tools](../profiling/optimize-code-using-profiling-tools.md).
3737

3838
## Measure performance while debugging
3939

@@ -308,4 +308,5 @@ In Visual Studio 2019, the legacy Performance Explorer and related profiling to
308308
## See also
309309

310310
- [Which tool should I use?](../profiling/choose-performance-tool.md)
311+
- [Reduce compute costs by using profiling tools](../profiling/optimize-code-using-profiling-tools.md)
311312
- [Run profiling tools with or without the debugger](../profiling/running-profiling-tools-with-or-without-the-debugger.md)

0 commit comments

Comments
 (0)