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

Visual Studio 2010 Beta 2 Available Now!

On Monday, we released Visual Studio 2010 and .NET Framework 4 Beta 2 to the web!  In the new, simplified product lineup, you will find the profiler in the Premium and Ultimate editions. We’ve made a lot of progress since Beta 1 with the profiler and with the product in general.  We would love to…

0

Write Faster Code with VS 2010 Profiler

Well, Visual Studio 2010 Beta 1 is finally here!!! WooHoo. As you may have seen in Brian Harry’s blog , we have added quite a few new features to Profiler to help you write faster code. The following is a list of the new features. In this list, I have also included a note on…

1

Visual Studio 2008 AJAX Profiling Extensions Power Tool

Originating in Microsoft Research as Ajax View, the Visual Studio 2008 AJAX Profiling Extensions Power Tool was released today (download here).  It’s a JavaScript performance profiler with a novel approach: it modifies the code sent by your server to include diagnostic code to trace and time function execution.  The client browser then sends profiling data…

0

Website Performance Talk at MIX09

John Hrvatin, lead program manager on the IE team, recently gave a talk at MIX09 entitled “Building High Performance Web Applications and Sites” (see the presentation key below).  John goes over a number of common performance pitfalls encountered when developing websites with CSS and JavaScript as well as some issues you might encounter at the…

1

Patch Released To Fix Sampling On Intel Core i7 Processors

A hotfix has been issued for those of you trying to do sample profiling on Intel’s Nehalem-based processors, the most recently released being the Intel Core i7 family.  Previously, trying to do so would result in a blue screen of death (i.e. Windows crash, machine lockup and reboot).  Not very useful.  With this patch, sampling…

1