output/blockers.rb in wvanbergen-request-log-analyzer-0.1.0 vs output/blockers.rb in wvanbergen-request-log-analyzer-0.1.1
- old
+ new
@@ -4,8 +4,8 @@
puts
puts "Mongrel process blockers (> #{$summarizer.blocker_duration} seconds)"
puts green("========================================================================")
$summarizer.sort_blockers_by(:count).reverse[0, amount.to_i].each do |a|
- puts "#{a[0].ljust(50)}: %10.03fs [#{green("%d requests")}]" % [a[1][:total_time], a[1][:count]]
+ puts "%-50s: %10.03fs [#{green("%d requests")}]" % [a[0], a[1][:total_time], a[1][:count]]
end