
diagsession report page that shows Top Insights and the Hot Path. When the diagnostic data loads, first check the initial. Start by collecting a trace with the CPU Usage tool.

For comparing tools, see Which tool should I choose?.If you're using ADO.NET or Entity Framework, you can try the Database tool to examine SQL queries, precise query time, et al.If your app is using File I/O, use the File I/O tool.

NET or C++, you can look at the Memory Usage tool.

If you would like additional insights to help isolate issues or improve the performance, considering collecting a trace using one of the other profiling tools.The CPU Usage tool is often helpful to begin performance investigations and to optimize code to reduce cost. To reduce compute costs, start your investigation by taking a CPU usage trace.

Other profiling tools may also be used to give additional insights about what's happening with your app's performance. In addition, auto insights may show precise optimizations that can have a large impact. The CPU Usage views such as the call tree and flame chart provide a nice graphical visualization of where time is spent in your app. The CPU Usage tool can help you capture and visualize where compute resources are used in your application. Reducing your compute time means reducing costs, so optimizing your code can save money. Applies to: Visual Studio Visual Studio for Mac Visual Studio Code
