[MERGE/HELP!!!] Accelerate build_tree by using working tree files

Aaron Bentley aaron.bentley at utoronto.ca
Wed Dec 19 05:49:38 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ian Clatworthy wrote:
> Aaron Bentley wrote:
> I'm in the process of benchmarking 40-50 different bzr operations on
> lots of different code bases right now. Here are the slowest ones from
> my testing so far, together with the time in seconds for FireFox:
> 
> * export (90.1)
> * lightweight checkout (64.4)
> * checkout (64.1)
> * branch (63.9)
> * initial commit (49.1).

I'd be interested to hear how this version does.

> All tests are running in a local shared with-trees repo. The first and
> last of these are no problem because they are infrequently done. The
> middle 3 are more interesting to most people and your patch sounds very
> promising.

I also have a patch to do hard links, but that doesn't seem to be much
of a win:
Old (Best of 3)
real    0m1.365s
user    0m1.112s
sys     0m0.236s

New (Best of 3)
real    0m1.259s
user    0m1.052s
sys     0m0.176s

A mere 1.08x the speed!

I've attached the hard-links patch-- it may be more of a win on large
trees.  (It depends on the previous bundle)

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHaLDy0F+nu1YWqI0RAst2AJ4uFIUpX+VhntaZ8kdiWw6Io2EVDgCdEopz
m0oRQYgJjDSxH76W7UTGweE=
=tnOC
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hardlinks.patch
Type: text/x-diff
Size: 2108 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20071219/a90e8a77/attachment.bin 


More information about the bazaar mailing list