Kouhei Sutou
null+****@clear*****
Tue Oct 8 10:50:24 JST 2013
Kouhei Sutou 2013-10-08 10:50:24 +0900 (Tue, 08 Oct 2013) New Revision: b8f0dba31a183b38f0a9c02ed6a16fc1d6c7252a https://github.com/droonga/http-benchmark/commit/b8f0dba31a183b38f0a9c02ed6a16fc1d6c7252a Message: Suppress a warning % ruby -W -c lib/droonga/http-benchmark/formatter.rb lib/droonga/http-benchmark/formatter.rb:47: warning: (...) interpreted as grouped expression Syntax OK Modified files: lib/droonga/http-benchmark/formatter.rb Modified: lib/droonga/http-benchmark/formatter.rb (+2 -2) =================================================================== --- lib/droonga/http-benchmark/formatter.rb 2013-10-08 10:04:29 +0900 (561bbaf) +++ lib/droonga/http-benchmark/formatter.rb 2013-10-08 10:50:24 +0900 (49f834d) @@ -38,13 +38,13 @@ module Droonga end end result[:response_statuses] = response_statuses.join(",") - puts ("%{n_clients}," + + puts(("%{n_clients}," + "%{total_n_requests}," + "%{queries_per_second}," + "%{response_statuses}," + "%{min_elapsed_time}," + "%{max_elapsed_time}," + - "%{average_elapsed_time}") % result + "%{average_elapsed_time}") % result) end end end -------------- next part -------------- HTML����������������������������...Download