The ruby-prof and pprof.rb libraries is useful but in my mind seem to give alot of unnecessary information (by not letting me filter out all of the rails code). What would be great would be to run a profiler at the class level, like:
simple_profiler -c SomeClass
and then have a report that starts at that class and works its way through the code and shows you how long (by time or %) and number of calls for each class, each method, and each line. Does something like this exist or should I get started creating this gem? :)