[Groonga-commit] droonga/fluent-plugin-droonga at 7fb7584 [master] Fix indent

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Oct 28 11:09:04 JST 2013


YUKI Hiroshi	2013-10-28 11:09:04 +0900 (Mon, 28 Oct 2013)

  New Revision: 7fb7584f9477c265bb5d220cb6b8e6fb54347556
  https://github.com/droonga/fluent-plugin-droonga/commit/7fb7584f9477c265bb5d220cb6b8e6fb54347556

  Message:
    Fix indent

  Modified files:
    benchmark/watch/benchmark-scan.rb

  Modified: benchmark/watch/benchmark-scan.rb (+6 -7)
===================================================================
--- benchmark/watch/benchmark-scan.rb    2013-10-28 11:08:30 +0900 (fd0ec5a)
+++ benchmark/watch/benchmark-scan.rb    2013-10-28 11:09:04 +0900 (d262439)
@@ -72,16 +72,15 @@ n_watching_terms = 1000
 step             = 1000
 n_tests          = 20
 incidences       = [0.1, 0.5, 0.9]
-  puts "starting..."
-  incidences.each do |incidence|
-    scan_benchmark = ScanBenchmark.new(n_watching_terms, incidence)
-    n_tests.times do |try_count|
-Benchmark.bmbm do |benchmark|
+
+incidences.each do |incidence|
+  scan_benchmark = ScanBenchmark.new(n_watching_terms, incidence)
+  n_tests.times do |try_count|
+    Benchmark.bmbm do |benchmark|
       scan_benchmark.add_terms(step) if try_count > 0
       benchmark.report("incidence #{incidence}, #{scan_benchmark.n_terms} keywords") do
         scan_benchmark.run
       end
-end
     end
   end
-
+end
-------------- next part --------------
HTML����������������������������...
Download 



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