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
The logs seem to get this information, I just can’t seem to dig it out.
covers benchmarking controllers, but doesn’t separate the render and
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?