[MERGE] log performance
Aaron Bentley
aaron.bentley at utoronto.ca
Fri Jun 23 03:46:19 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
This patch optimizes performance of log formatters that don't show
merges (i.e. --short and --line).
1. It adds a new codepath for selecting the revisions to display
2. It does not retrieve revisions that will not be displayed
In my tests (which have a 1:1 ratio of merges to mainline), it goes from
190 ms to 109ms, that is 1.74x as fast.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEm1X60F+nu1YWqI0RAkpsAJ9kBP44g4y3LoB5uexpQ3Ok2u1VlQCfTA7q
6VN3Wgff4c/jfc3NiRAZ+PM=
=hziL
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mergeperf.patch
Type: text/x-patch
Size: 17629 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060622/4b0988bb/attachment.bin
More information about the bazaar
mailing list