Utilizing Visual Studio profiling tools
Visual Studio profiling tools are a suite of performance measurement and diagnostic tools integrated into Visual Studio. In this section, we will explore how to use it and explore what tools are offered to explore and monitor our applications.
To open the Performance Profiler, we go to Debug | Performance Profiler or press Alt + F2.
Figure 4.1 – Performance Profiler
Before clicking on the Start button, let’s review the various options the Performance Analyzer feature offers us for profiling our applications.
Analyzing .NET asynchronous events
.NET’s async and await features allow us to analyze the asynchronous events that are organized chronologically, displaying start time, end time, and duration, in a table of activities that occurred during our profiling session. Tasks are labeled in the Name column.
Figure 4.2 – .NET Async
If a task isn’...