Updates for faster local branching
Aaron Bentley
aaron.bentley at utoronto.ca
Sat Jul 9 21:34:08 BST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The inability to append more than one revision to the revision history
at a time makes local branching slower than it needs to be.
append_multiple.patch makes append_revision take any number of revision
parameters.
update_revisions_fast.patch invokes append_revision once with a list,
instead of once per entry in the list.
I ran three tests of before and after these patches were applied.
The tests consisted of running "rm -R bzr.test; time bzr.dev/bzr branch
bzr.mpool bzr.test"
The best times were:
before:
real 0m43.714s
user 0m35.798s
sys 0m5.656s
after:
real 0m34.970s
user 0m29.296s
sys 0m4.379s
You'll note that in the 'before' times, bzr appears to spend ~3 seconds
waiting on I/O. This is reduced to ~1 second.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFC0DTA0F+nu1YWqI0RAoIYAJ98+MypZ0ZoMQt5l5x85nHHdn4ZVQCeMthL
R5oK1ET4o/RjMw+Y3BuWbIE=
=xPTt
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: append_multiple.patch
Type: text/x-patch
Size: 2948 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050709/bc14efab/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: update_revisions_fast.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050709/bc14efab/attachment-0001.bin
More information about the bazaar
mailing list