Lessons Learned and Advanced Practices

VSH10 Performance and Debugging with the Diagnostic Hub in Visual Studio


11:00am - 12:15pm

Level: Intermediate to Advanced

Sasha Goldshtein


SELA Group

The recent versions of Visual Studio introduce more tools for analyzing the application performance. You can measure and inspect the energy consumption and expected battery life of your Windows Phone, the frame rate and redraw regions of your Windows Store app, the heap contents of your .NET and C++ code, the memory and CPU utilization of your ASP.NET server, and database queries executed from your Entity Framework data layer. All these features are part of the convergence to a Diagnostic Hub in Visual Studio 2013, which adds even more capabilities such as analyzing memory leaks from within Visual Studio. This session will experiment with the various performance and debugging tools Visual Studio offers.

You will learn:

  • About measuring CPU utilization and wall-clock time with Visual Studio Profiler
  • About analyzing power consumption, battery life, and other mobile device metrics
  • About debugging memory leaks and allocation trouble with the Visual Studio 2013 Diagnostic Hub