[Groonga-commit] droonga/http-benchmark at 53a50d9 [master] Apply wait

アーカイブの一覧に戻る

YUKI Hiroshi null+****@clear*****
Mon Oct 7 17:02:00 JST 2013


YUKI Hiroshi	2013-10-07 17:02:00 +0900 (Mon, 07 Oct 2013)

  New Revision: 53a50d98bd9fa3a8fb973f7d99ab30d542eb6bc1
  https://github.com/droonga/http-benchmark/commit/53a50d98bd9fa3a8fb973f7d99ab30d542eb6bc1

  Message:
    Apply wait

  Modified files:
    lib/droonga/http-benchmark.rb

  Modified: lib/droonga/http-benchmark.rb (+2 -0)
===================================================================
--- lib/droonga/http-benchmark.rb    2013-10-07 17:01:10 +0900 (1c700bc)
+++ lib/droonga/http-benchmark.rb    2013-10-07 17:02:00 +0900 (5dc61c4)
@@ -76,6 +76,7 @@ module Droonga
                                  :status => response.code,
                                  :elapsed_time => Time.now - start_time)
             end
+            sleep request[:wait]
           end
         end
       end
@@ -171,6 +172,7 @@ module Droonga
         request[:path] ||= @default_path
         request[:method] ||= @default_method
         request[:method] = request[:method].upcase
+        request[:wait] ||= @wait
         @requests << request
       end
     end
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る