Chapter 21Profiling and Performance

What's in this chapter?

  • Understanding the profiling features in Visual Studio 2013
  • Understanding available profiling types
  • Using Performance Explorer to configure profiling sessions
  • Profiling reports and available views
  • Profiling JavaScript

Wrox.com Code Downloads for this Chapter

The wrox.com code downloads for this chapter are found at www.wrox.com/go/proalm3ed on the Download Code tab. The files are in the Chapter 21 download folder and individually named as shown throughout this chapter.

One of the more difficult tasks in software development is determining why an application performs slowly or inefficiently. Before Visual Studio 2005, developers were forced to turn to external tools to effectively analyze performance. Now, however, Visual Studio includes profiling tools that are fully integrated with both the IDE and other Visual Studio features.

This chapter introduces Visual Studio 2013's profiling tools. Note that the profiling features discussed in this chapter are available in Visual Studio Professional 2013 or higher.

You find out how to use the profiler to identify problems such as inefficient code, overallocation of memory, and bottlenecks. You learn about the new Performance and Diagnostics hub, which provides a single launch point for all your profiling needs. You learn about the two main profiling options — sampling and instrumentation — including how to use each, and when each should be applied. In Visual Studio 2013, there ...

Get Professional Application Lifecycle Management with Visual Studio 2013 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.