[Groonga-commit] droonga/fluent-plugin-droonga at 63274ba [master] Benchmark: generate feeded targets correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Oct 25 18:49:34 JST 2013


YUKI Hiroshi	2013-10-25 18:49:34 +0900 (Fri, 25 Oct 2013)

  New Revision: 63274ba5e38e451784d47be6488cbade5ad5cbe6
  https://github.com/droonga/fluent-plugin-droonga/commit/63274ba5e38e451784d47be6488cbade5ad5cbe6

  Message:
    Benchmark: generate feeded targets correctly

  Modified files:
    benchmark/utils.rb

  Modified: benchmark/utils.rb (+1 -1)
===================================================================
--- benchmark/utils.rb    2013-10-25 18:48:24 +0900 (2406eb8)
+++ benchmark/utils.rb    2013-10-25 18:49:34 +0900 (7db70db)
@@ -105,7 +105,7 @@ module DroongaBenchmark
       n_unmatched_targets = (n_targets - n_matched_targets)
 
       n_matched_targets.times do
-        targets << generate_target(@terms.sample(1))
+        targets << generate_target(@terms.sample(1).first)
       end
 
       n_unmatched_targets.times do
-------------- next part --------------
HTML����������������������������...
Download 



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