Fog Creek Software
Discussion Board

Welcome! and rules

Joel on Software

.Net Profiling

In Visual Studio 6 it was pretty easy to profile the performance of a program: In the link project settings, check the "Enable Profiling", then in the Build menu select the desired type of profiling: function timing, code coverage, etc.  Run the program (Press F5) and when execution is complete you are given the profiling statistics.

How do you do the same thing in Visual Studio .Net?  (I'm using C++)

Glade Warner
Saturday, December 6, 2003

For profiling managed code (as opposed to native code in VC++6.0) then there's the open-source profiler

There's also the free community edition of

Duncan Smart
Monday, December 8, 2003

Thanks Duncan.  It looks like the bottom line is that the profiling is not built in to Dev Studio as it was in V6.  Further digging through google groups indicates that the Microsoft preferred is the compuware one that you linked. It looks like there are several, including Purify now owned by IBM (formerly owned by Rational, and I think by Premia before that).

I've installed the Compuware one.  Compuware is the the NuMega company.  It looks really good, although the menu switch to enable profiling is anything but obvious.  There is a subtle change to the icon: it gets a border when it is enabled.  I think that is awfull.  Is this a new .Net standard? (I'm new to the .Net compilers).

Glade Warner
Monday, December 8, 2003

"Is this a new .Net standard?"
-- not as far as I know - just crappy UI design perhaps!

Duncan Smart
Tuesday, December 9, 2003

*  Recent Topics

*  Fog Creek Home