[Groonga-commit] groonga/benchmarks at 7057115 [master] Use sequential key

Back to archive index

Hiroshi Hatake null+****@clear*****
Fri Jan 9 17:50:33 JST 2015


Hiroshi Hatake	2015-01-09 17:50:33 +0900 (Fri, 09 Jan 2015)

  New Revision: 705711516f881cfe561140e6b31d8f455338d88d
  https://github.com/groonga/benchmarks/commit/705711516f881cfe561140e6b31d8f455338d88d

  Message:
    Use sequential key

  Modified files:
    bench_reference_vector.rb

  Modified: bench_reference_vector.rb (+1 -5)
===================================================================
--- bench_reference_vector.rb    2014-12-26 19:11:14 +0900 (5a296a7)
+++ bench_reference_vector.rb    2015-01-09 17:50:33 +0900 (e9a3ef3)
@@ -46,11 +46,7 @@ end
 def load_data(num_loop)
   num_loop.times.each do |i|
     print(<<-EOH.strip)
-{"_key": "http://groonga.org/", "tags": "#{article_tags}"},
-{"_key": "http://mroonga.org/", "tags": "#{article_tags}"},
-{"_key": "http://ranguba.org/", "tags": "#{article_tags}"},
-{"_key": "http://droonga.org/", "tags": "#{article_tags}"},
-{"_key": "http://nroonga.github.io/", "tags": "#{article_tags}"},
+{"_key": "http://groonga.org/#{i}", "tags": "#{article_tags}"},
 EOH
   end
 end
-------------- next part --------------
HTML����������������������������...
Download 



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