YUKI Hiroshi
null+****@clear*****
Mon Oct 7 19:29:34 JST 2013
YUKI Hiroshi 2013-10-07 19:29:34 +0900 (Mon, 07 Oct 2013) New Revision: 547f0d55a1fb4de368f839cfee7a2c2c39e5ed9d https://github.com/droonga/http-benchmark/commit/547f0d55a1fb4de368f839cfee7a2c2c39e5ed9d Message: Run client correctly Modified files: lib/droonga/http-benchmark/runner.rb Modified: lib/droonga/http-benchmark/runner.rb (+5 -3) =================================================================== --- lib/droonga/http-benchmark/runner.rb 2013-10-07 19:24:20 +0900 (1f767b6) +++ lib/droonga/http-benchmark/runner.rb 2013-10-07 19:29:34 +0900 (1fa6fb5) @@ -56,9 +56,10 @@ module Droonga results_queue = Queue.new @clients = 0.upto(@n_clients - 1).collect do |index| - Client.new(:requests => requests_queue, - :results => results_queue, - :wait => @wait) + client = Client.new(:requests => requests_queue, + :results => results_queue, + :wait => @wait) + client.run end start_time = Time.now @@ -200,6 +201,7 @@ module Droonga sleep @wait end end + self end def stop -------------- next part -------------- HTML����������������������������...Download