small suggestion

Simon Dawson <[email protected]> Sat, 13 Nov 2004 22:32:23 +1300
Newsgroups gmane.comp.windows.dotnet.nprof.devel
Message-ID <[email protected]>
Hi There

Thanks for writing nprof, it's the best .NET profiler I've found. 

The main reason (other than supporting open source) is that it's damn efficient. Some profilers (eg compuware's community version) run at 1/40th of the normal run speed. nprof is a damn sight faster. Since I have an app that spends 60 seconds hitting a database when it starts, I'm damn grateful for that efficiency. :)

Anyway, one small thought. One thing I have -not- been able to find in -any- profiler, is the ability to select which routines I wish to profile. I can only profile the entire app at a time. Now, on some you can select which .exe's.. but unless I'm going to refactor an entire app so one small routine is in its own exe, that's pretty impractical.

For example, in the app I'm running, it does a large amount of database hits (loading several million rows), which I've already optimised about as far as sql/c# will go. So, I don't care about that any more. However, I -do- know I have one little routine that is -really- slow (that after I've done the database loading then runs for hours), and I'd like to find out what's going on there in intricate depth. However, there's nothing that I've found that will let me do that.

How much work would it be to get nprof to do that? If you could do it, that would certainly put nprof a head and shoulders above ALL the competition.

Best Regards

Simon 



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8