Raymond Lewallen

Sponsors

The Lounge

Wicked Cool Jobs

Advertisement

Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
The last tool you'll ever need to profile your managed code - ANTS Profiler from Red-Gate

As so many of us know, Red-Gate has some really awesome database tools.  The Compare and Data Compare tools are totally awesome and I don’t know how I’d do many of the things I do without those tools.  Well, I know how I’d do them.  The same way I used to.  But never again will I work with databases between servers without the help of these tools.

But I’m here to tell you about my experience with ANTS (Advanced .Net Tool Suite) Profiler.  I've been using this tool for a very short while and am absolutely thrilled with it.

Now I’m not going to provide screenshots and all that jazz for ya.  I’m going to let you go to Red-Gate’s website and see that stuff for yourself.  Instead, I want to point out a couple of very awesome items.

Talking about the performance profiler:

1.  On the summary page, right when you take a snapshot of the the performance profile, it tells you the slowest 10 lines of code that have executed to that point.  Click on one, and down in the bottom it shows you the source of that line of code, points you to the line, and has a little “time to execute” bar graph out to the side.

2.  Right underneath the slowest lines of code are the slowest methods to execute with the same type of information.

3.  Under the all methods tab, you can see each method that has executed, what namespace in executed in, the time to execute, hit count, source file and each of those columns can be sorted and the namespace column can be filtered and sorted.  Click on a method name and in the pane below it shows you the source code.

Talking about the memory profiler:

1. On the summary page it shows the top 10 largest objects and the top 10 classes with the most live instances at the time the snapshot was taken.

2. Under the all classes tab, you see the namespace, classname, module name, live count, live size in bytes, total number created and the total size.  All columns, again, are sortable.

For me, ANTS is the easiest tool out there to use for profiling code.  Its much easier to use and contains much more information than what CLRProfiler provides (granted, CLRProfiler is free).  Its also uses about half the memory, when running, than CLRProfiler.


Posted Wed, May 25 2005 12:35 PM by Raymond Lewallen

[Advertisement]

Comments

David M. Kean wrote re: The last tool you'll ever need to profile your managed code - ANTS Profiler from Red-Gate
on Thu, May 26 2005 11:33 PM
Did you get anything from Red-Gate for this?
Raymond Lewallen wrote re: The last tool you'll ever need to profile your managed code - ANTS Profiler from Red-Gate
on Fri, May 27 2005 5:50 AM
reviewed free fo charge :)

I just think its an awesome tool, like CodeRush or CodeSmith or BlogJet or NDoc or any number of 3rd party tools I use. I guess I over did it with my enthusiam, but I had just started using the tool on a daily basis and am thrilled about the information is makes available, so I was a bit giddy with joy :)
Matt Berther wrote re: The last tool you'll ever need to profile your managed code - ANTS Profiler from Red-Gate
on Sun, Jun 5 2005 10:02 AM
Did you happen to take a look at AQTime [1]? This is one that we are evaluating as a company and was interested in how ANTS stands up to this one.

[1] http://www.automatedqa.com/products/aqtime/
Raymond Lewallen wrote re: The last tool you'll ever need to profile your managed code - ANTS Profiler from Red-Gate
on Wed, Jun 8 2005 9:24 AM
Matt,

Did not evaluate that one. I had been using CLRProfiler for awhile and compared that to ANTS and JetBrains .Net Profiler. ANTS was my choice.
Brendan Tompkins wrote Debugging Tricky Issues with Red-Gate's ANTS Profiler
on Thu, Jul 14 2005 7:35 AM
I ran into a head-scratcher of a problem recently with WSMQ's new DbProvider, using the June Enterprise...
Brendan Tompkins wrote Debugging Tricky Issues with Red-Gate's ANTS Profiler
on Thu, Jul 14 2005 7:37 AM
I ran into a head-scratcher of a problem recently with WSMQ's new DbProvider, using the June Enterprise...
Raymond Lewallen [MVP] wrote NDepend 2.0 has been released.
on Wed, Apr 5 2006 1:11 PM
Many of you have heard me talk about NDepend
on numerous blog posts and speaking engagements. ...
Mike Wright wrote re: The last tool you'll ever need to profile your managed code - ANTS Profiler from Red-Gate
on Mon, Aug 27 2007 10:32 AM

Interesting first comment from David, I've wondered the same myself, many times. Having just attempted to use this tool for memory profiling, I have to agree with you. It presents loads of info (maybe that's what made you "giddy with joy", Ray ? Oh dear...), but it's totally unobvious how to get anything useful out of it, and a typically clunky Red Gate user interface. I have to join David in asking precisely why you'd have anything complementary to say about it, it's fundamentally a pig of a tool to get your head around and understand. I have no bias either way, indeed at least it runs (which is more than certain profilers did), but it is sorely lacking in usability, despite all of the marketing hype. You have engage your own brain and wonder why so many MVPs recommend their products...

Add a Comment

(required)  
(optional)
(required)  
Remember Me?
Devlicio.us