update.
[chise/ruby.git] / test / test-idsdb.rb
index f098850..fb93f93 100755 (executable)
@@ -34,27 +34,15 @@ end
 class TestIDS_DB_Management < Test::Unit::TestCase
   def test_management
     man = CHISE::IDS_DB_Management.new
-    # make sure there is no conflict
-    #man.check_conflict_of_ids_text # 167.499 seconds.
-    #man.store_ids_as_text # 172.024 seconds.
-    #man.store_ids_de_er # 47.99 seconds.
-    #man.check_integrity_of_ids_tree # 58.185 seconds.
-    #man.make_by_ids_db # 29.572 seconds.
-    #man.store_ids_aggregated # 66.609 seconds.
-    #man.store_ids_subparts # 1638.966 seconds.
-    #man.store_ids_contained #
-
-=begin
-    db = IDS_DB.instance
-#    db.make_ids_db #1時間12分
-#    IDS_TEXT_DB.instance.make_ids_error #4分
-#    db.make_ids_reverse #2分
-#    db.dump_ids_duplicated #1分
-#    db.make_ids_aggregated #5分
-#    db.dump_ids_aggregated #1分
-#    db.make_ids_parts #30分
-    db.make_ids_contained #2分
-    #db.make_ids_decomposed #2分→おわらなかった…。
-=end
+    # make sure there is no conflict      ruby    : ext
+    #man.check_conflict_of_ids_text    #  151.633 : 150.287
+    #man.store_ids_as_text             #  172.024 : 177.618    86470
+    #man.store_ids_de_er               #   47.99  :  38.926    81899
+    #man.check_integrity_of_ids_tree   #   58.185 :  48.015    79417
+    man.make_by_ids_db_org             #   29.572 :  24.511    75562
+    #man.store_ids_aggregated          #   66.609 :  51.832    79417
+    #man.store_ids_subparts            # 1638.966 : 959.413    79417
+    #man.store_ids_contained           #  773.808 : 696.374
+    #man.make_by_ids_db                        #   28.071 :  31.0
   end
 end