Is there a way to display the time spent rendering a page and the time
spent in SQL query? I’d like to throw this up on view pages during
debug.
The logs seem to get this information, I just can’t seem to dig it out.
This page:
http://wiki.rubyonrails.org/rails/pages/BenchmarkingRails
covers benchmarking controllers, but doesn’t separate the render and
database times.
I can duplicate the stuff in ActionController::Benchmarking and use my
own “alias_method_chain”, but I’d prefer to know how to dig out the
stuff that’s already there. Any ideas?
Jake