VS2010: New Profiler Summary Page

With Visual Studio 2010 we want to make it easier for customers to find and fix performance issues with their code. One of the first things we looked at was the view that shows up after profiling an application – the Summary Page. I’ll describe a few features of the new summary page using the…

0

Using the keyboard to profile an application (Alt-F2 shortcut)

In announcing Visual Studio Beta 2 profiler features, Chris mentioned that we have a new option on the Debug menu called ‘Start Performance Analysis’ which has the Alt-F2 keyboard shortcut. This makes it easier than ever to start profiling your application. The new menu item has the following behavior: You must have a Visual Studio…

0

Multi-Tier Performance Analysis

Think of a typical three-tier application; the one that has, let’s say, an ASP.NET UI, a business logic layer, and a data access layer which talks to a SQL Server instance. Ever wondered which queries are executed as a result of serving a page? Ever wondered how long it takes to execute those queries? Ever…

0

Which Profiling Mode Should I use?

Short Answer: Profiling Mode When to use CPU Sampling Use this mode to identify methods that consume too much CPU. This mode has low overhead and is well suited for CPU bound applications. Instrumentation Use this mode to get exact call count and exact time for each method. This mode is well suited for application…

0

VS2010: Attaching the Profiler to a Managed Application

Before Visual Studio 2010, in order to attach the profiler to a managed application, certain environment variables had to be set using vsperfclrenv.cmd. An example profiling session might look like this: vsperfclrenv /sampleon [Start managed application from the same command window] vsperfcmd /start:sample /output:myapp.vsp /attach:[pid] [Close application] If the environment variables were not correctly set,…

0