Ever wonder how I get those nice looking HTML call trees with attributed costs like this one here in my last quiz?

Well, it turns out that Josh Williams wrote an excellent program for massaging the perf results that come out of our profiler.  The way it works is that you get a profile as usual and then you use the tools (or the UI) to export the data in .csv format.  Josh shows how in this article from the command line but the export function does the same job.

Once you have your .csv files you can use the newly released Performance Console to read those files and browse them.  Now I love this tool because it includes some of my favorite features (yes I nag very well, Josh can attest *grin*) such as "show me the call tree with all functions at least 5% inclusive time." And the best part is you don't have to keep clicking open-open-open to browse deep call trees.

By the way, our own profiler team looks at this tool and others very closely in deciding what to do in their next iteration so hopefully we'll see more and more of this stuff being available without special downloads. 

But why wait?  You can have this goodness now.

One last great thing about the perfconsole tool -- you can save the results of a session as HTML and then mail them or blog them or whatever.

Josh will be posting some usage hints soon.  But for now, go ahead and grab it and play.  You'll love it!  Heck, post me some of your favorite outputs.

Did I mention its extensible?  I hope he posted the whole manual or I have to nag some more. :)

Try it, you won't be sorry.

UPDATE:  Josh just wrote an introduction to Performance Console, find it here.