No such tree SHA1 was found

%
% Nate Murray
% nate@natemurray.com
% 4/1/2008
% Simple Rails Query Log Analyzer
%

== Intro
This is a simple (even stupid) rails log analyzer. It’s not really ready for prime-time,
but I have found it useful so I thought I would share it.

The initial goal is to identify SQL queries that could be optimized or queries
that are being called more often than they should be.

== What it does
Right now all this does is read a log file and extract SQL “SELECT” statements
and organize them by the amount of time they take. It will also show a summary
of the number of queries called to load each model. ABC

== How to use it
The typical work flow looks like this:

rake log:clear
# hit the URL of the page we want to profile, run the rake task, etc
bin/query_log_analyzer.rb log/development.log

== TODO
Update the code to not be so SELECT centric. Support other types of queries
Be smarter about each request’s individual queries

== Contributions
I've placed this in a git repository, so feel free to submit any patches and
I’ll integrate them into this master.

== Similar Projects
* http://rails-analyzer.rubyforge.org/