[MERGE] BranchBuilder updates
John Arbash Meinel
john at arbash-meinel.com
Tue Jul 22 21:46:10 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sorry for spamming patches to this, but the discussion with Aaron
reminded me that holding locks over multiple commits really does help.
So this patch adds "start_series()" and "finish_series()" to hold the
locks (and MemoryTree) open for a while.
It makes some of my tests drop from 90ms => 45ms or so.
The real improvement overall is just using it in the first place. As it
changes my test time from about 500ms => 90ms. (The problem seems to be
that on win32 grabbing a disk lock is expensive on ntfs for whatever
reason.)
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkiGRxIACgkQJdeBCYSNAAN96ACghWmfuHOTwiwtwOYoA9166EkL
yHAAn0mfS4qZsNeebyISdnhWtcwCNseM
=2eNh
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: use_branch_builder.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20080722/6172c709/attachment-0001.diff
More information about the bazaar
mailing list