[Groonga-commit] droonga/drnbench at c6b2d3c [master] Output client id with paren

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Jul 31 12:22:55 JST 2014


YUKI Hiroshi	2014-07-31 12:22:55 +0900 (Thu, 31 Jul 2014)

  New Revision: c6b2d3cdfb4ca77b6e0c7302c375fee27bc89d34
  https://github.com/droonga/drnbench/commit/c6b2d3cdfb4ca77b6e0c7302c375fee27bc89d34

  Message:
    Output client id with paren

  Modified files:
    lib/drnbench/request-response/result.rb

  Modified: lib/drnbench/request-response/result.rb (+2 -3)
===================================================================
--- lib/drnbench/request-response/result.rb    2014-07-31 12:22:22 +0900 (cf0b372)
+++ lib/drnbench/request-response/result.rb    2014-07-31 12:22:55 +0900 (cea99fa)
@@ -96,8 +96,7 @@ module Drnbench
             "#{result[:elapsed_time]} sec:",
             request["method"],
             status,
-            result[:client],
-            index,
+            "<#{result[:client]}>#{index}",
             "http://#{request["host"]}:#{request["port"]}#{request["path"]}",
           ].join(" ")
         end
@@ -121,7 +120,7 @@ module Drnbench
         "  max:     #{max_elapsed_time} sec\n" +
         "  average: #{average_elapsed_time} sec\n" +
         "Top #{@n_slow_requests} slow requests:\n" +
-        " [time: method status client index url]\n" +
+        " [time: method status <client>index url]\n" +
         top_slow_requests.collect do |request|
           "  #{request}"
         end.join("\n")
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index