Rev 85: Yep. get_config() is 100+ms (round trip to LP), everything else is fast. in http://bzr.arbash-meinel.com/plugins/history_db

John Arbash Meinel john at arbash-meinel.com
Mon Apr 12 20:42:42 BST 2010


At http://bzr.arbash-meinel.com/plugins/history_db

------------------------------------------------------------
revno: 85
revision-id: john at arbash-meinel.com-20100412194235-34kpq29cesshp8iv
parent: john at arbash-meinel.com-20100412194119-zs7mdpx7dvsax3ou
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: history_db
timestamp: Mon 2010-04-12 14:42:35 -0500
message:
  Yep. get_config() is 100+ms (round trip to LP), everything else is fast.
-------------- next part --------------
=== modified file '__init__.py'
--- a/__init__.py	2010-04-12 19:41:19 +0000
+++ b/__init__.py	2010-04-12 19:42:35 +0000
@@ -407,11 +407,12 @@
                                         incremental=True)
     t2 = time.clock()
     importer.do_import()
+    t3 = time.clock()
     importer.build_mainline_cache()
-    t3 = time.clock()
+    t4 = time.clock()
     trace.note('history_db post-change-hook took %.3fs'
-               ' (%.3fs to init, %.3fs to import)'
-               % (t3-t0, t1-t0, t2-t1))
+               ' (%.3fs to get_config, %.3fs to init, %.3fs to import)'
+               % (t4-t0, t1-t0, t2-t1, t3-t2))
     trace.mutter('Stats:\n%s' % (pprint.pformat(dict(importer._stats)),))
 
 



More information about the bazaar-commits mailing list