[Groonga-commit] droonga/http-benchmark at 1a946bd [master] Move GradualResult to GradualRunner::Result

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Oct 9 16:22:07 JST 2013


YUKI Hiroshi	2013-10-09 16:22:07 +0900 (Wed, 09 Oct 2013)

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

  Message:
    Move GradualResult to GradualRunner::Result

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

  Modified: lib/droonga/http-benchmark/gradual-runner.rb (+3 -3)
===================================================================
--- lib/droonga/http-benchmark/gradual-runner.rb    2013-10-09 16:21:20 +0900 (ddb933e)
+++ lib/droonga/http-benchmark/gradual-runner.rb    2013-10-09 16:22:07 +0900 (ba4ce6d)
@@ -25,16 +25,15 @@ module Droonga
 
       private
       def run_benchmarks
-        @result = GradualResult.new
+        @result = Result.new
         @start_n_clients.step(@end_n_clients, @step) do |n_clients|
           benchmark = Runner.new(@params.merge(:n_clients => n_clients))
           puts "Running benchmark with #{n_clients} clients..."
           @result << benchmark.run
         end
       end
-    end
 
-    class GradualResult
+    class Result
       def initialize
         @results = {}
       end
@@ -76,5 +75,6 @@ module Droonga
         end.join("\n")
       end
     end
+    end
   end
 end
-------------- next part --------------
HTML����������������������������...
Download 



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