How to profile an app?

  • Thread starter Thread starter Frank Rizzo
  • Start date Start date
F

Frank Rizzo

Hello,

I was wondering whether was a product out there that profiles a .NET
application. What I mean by that I want to know how much each line
spends in code, etc...

I remember there used to be one for VB6 (Numega), but their current
version doesn't seem to support this feature.

Thanks.
 
Frank said:
Hello,

I was wondering whether was a product out there that profiles a .NET
application. What I mean by that I want to know how much each line
spends in code, etc...

I you don't want to invest heavily in profiling, you could try nprof:
http://nprof.sourceforge.net/

It also has the benefit of being extremely simple to install and run.
 
It adds itself to the Debug menu, I believe, and the profile results
appear as new files in the Solution Explorer.

Or you could wait for VS 2005. I believe that it has a profiler built
in.
 
Bruce said:
It adds itself to the Debug menu, I believe, and the profile results
appear as new files in the Solution Explorer.

That sucks. Everytime I install something that hooks into VS.NET 2003,
it completely ruins my custom toolbar. I guess it is out for me.
Or you could wait for VS 2005. I believe that it has a profiler built
in.

Will do.
 
Frank Rizzo said:
Thanks. Do you know if it installs any hooks into VS.NET (add-ins,
plugins, menus, etc...). I'd like to avoid contaminating the IDE if
possible.


I understand. I hate it when that happens, but I had to ask myself, "faster
app or preserved toolbar?"

:)

Marc
 
That sucks. Everytime I install something that hooks into VS.NET
2003, it completely ruins my custom toolbar. I guess it is out for
me.


Will do.

Visual Studio 2005 will have code profiling, but only in the Team System
editions. You can download the beta now and play with it now and see if
this will meet your needs. However, if it does, I would highly
recommend purchasing MSDN Enterprise--it will be far less expensive than
any of the Team System editions, and you will migrate to Visual Studio
2005 Team Edition for Software Developers (the full name for the minimum
version you'd want) upon release. Otherwise, you could be in for a very
unpleasant sticker shock.

If you need additional details, please feel free to email me offline.

Regards,
Marc
 
Back
Top