Profiling NHibernate with NHProf

There's a common conception that developers suck at creating user interfaces. And it's probably right on target. One of the reasons is that, as developers, we look at things differently than a normal user would. And usually this causes problems, except in one scenario where it's an advantage: when our end users are of our own species. NHProf fits that bill perfectly.

Along with Balsamiq, which I blogged about a few days ago, NHProf is the other tool that I had a chance to play with this week, and I'm pretty excited about it. For those of you who don't know what it is, NHProf is a profiler for NHibernate, created by Ayende.

One of the characteristics of NHibernate is it's extensive logging support, and using log4net, NHibernate can log almost anything that happens. However, it's not always easy to read this information, let alone debug what's wrong.

NHProf tries to fix this shortcoming by offering a visual and extremely useful interface that provides relevant information you need to understand what's going on under the covers and help you improve performance of your application. And if that weren't enough, in a true fashion, inline with tools such as Resharper, it even offers you tips and recommendations.

image

I'll be posting more about this tool as I play with it. It's really got me excited. It comes with a 30 day trial so make sure you check it out. 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s