Forum: Ruby on Rails Render Time, Search Time

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
63b38367968f7155b1f7cf1d248c9e66?d=identicon&s=25 Matheus Paschoal (Guest)
on 2006-02-07 17: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?

cya

[]'s

Matheus Paschoal
matheus@splicenet.com.br
This topic is locked and can not be replied to.