search for: final_time

Displaying 1 result from an estimated 1 matches for "final_time".

Did you mean: dial_time
2006 May 05
0
summarize: A log analysis script
.../bin/ruby # # summarize -- generate performance one-liners from Rails log input (:info or :debug) # # # urls keep proto://host bit? FULL_URL = false STDIN.read.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_t...