Displaying 2 results from an estimated 2 matches for "render_tim".
Did you mean:
render_time
2006 May 05
0
summarize: A log analysis script
...ad.split(/^\s*$/).each do |s|
next if s !~ /^Processing.+Completed/m
ip, time = s.match(/\(for (.+?) at (.+?)\)/)[1..-1]
#puts s
final_time, reqs_per_sec = s.match(/Completed in (\S+?) \((\S+?) reqs\/sec\)/)[1..-1]
http_status, url = s.match(/\| (\d+) \w+ \[(.+?)\]$/)[1..-1]
render_time, render_perc = s =~ /200 OK/ ? s.match(/Rendering: (\S+?) \((\d+)/)[1..-1] : [ ''0.0--00'', ''0'' ]
db_time, db_perc = s =~ /DB: / ? s.match(/DB: (\S+) \((\d+)/)[1..-1] : [ ''0.0--00'', ''0'' ]
url = url[/\w(\/....
2006 Feb 07
0
Render Time, Search Time
...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