[Groonga-commit] droonga/http-benchmark at b07429f [master] Re-apply droonga/http-benchmark at ab4c789 [master] Fix one more request bug

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Oct 7 16:44:26 JST 2013


YUKI Hiroshi	2013-10-07 16:44:26 +0900 (Mon, 07 Oct 2013)

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

  Message:
    Re-apply droonga/http-benchmark �� ab4c789 [master] Fix one more request bug

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

  Modified: lib/droonga/http-benchmark.rb (+1 -1)
===================================================================
--- lib/droonga/http-benchmark.rb    2013-10-07 16:40:30 +0900 (6ca0b3f)
+++ lib/droonga/http-benchmark.rb    2013-10-07 16:44:26 +0900 (a53eb53)
@@ -160,7 +160,7 @@ class HttpBenchmark
     else
     base_patterns = base_patterns.shuffle
 
-    0.upto(n_requests) do |count|
+    n_requests.times do |count|
       request = base_patterns[count % base_patterns.size]
       request[:host] ||= @default_host
       request[:port] ||= @default_port
-------------- next part --------------
HTML����������������������������...
Download 



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