Thursday, May 18, 2006

Easily find inefficient queries with QueryTrace

Posted by marcel

Nathaniel Talbott of test/unit fame has just released a new plugin he calls QueryTrace. I’ll let him explain what it does:

It’s nice that ActiveRecord logs the queries that are performed when your actions are executed, since it makes it easy to see when you have serious inefficiencies in your application. The next question, though, is always, “OK, so where are those being run from?</p>