[Tomoe-cvs 1451] CVS update: tomoe/benchmark

アーカイブの一覧に戻る

Kouhei Sutou kous****@users*****
2006年 11月 30日 (木) 16:35:07 JST


Index: tomoe/benchmark/load-dict.rb
diff -u tomoe/benchmark/load-dict.rb:1.3 tomoe/benchmark/load-dict.rb:1.4
--- tomoe/benchmark/load-dict.rb:1.3	Wed Nov 29 11:53:10 2006
+++ tomoe/benchmark/load-dict.rb	Thu Nov 30 16:35:07 2006
@@ -13,7 +13,9 @@
 Benchmark.bmbm do |x|
   TomoeSpecUtils::Config.dictionaries.sort.each do |dictionary|
     x.report(File.basename(dictionary)) do
-      n.times {Tomoe::Dict.new("xml", dictionary, false)}
+      n.times {Tomoe::Dict.new("xml",
+                               "filename" => dictionary,
+                               "editable" => false)}
     end
     GC.start
   end


tomoe-cvs メーリングリストの案内
アーカイブの一覧に戻る