Forum: Ruby on Rails Render Time, Search Time

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Matheus Paschoal (Guest)
on 2006-02-07 18:54
(Received via mailing list)
Hi Folks!

goofing around, i foun in lighttpd console, a line showing how much
time it takes to render it, and how much to search in the
database, ... hmm, that i guess will be interesting to show in the
footer's page. So, searching around, the only way I found it about
showing is to get the "start time" in some initialize method, and
the, in the view, get something like

render_time = right_now_time - start_time .

is there any other "cleaver" way to do this? some "system verbose"
array with the same values that lighttpd shows in console?



Matheus Paschoal
This topic is locked and can not be replied to.