[MERGE] optimize annotate

Aaron Bentley aaron.bentley at utoronto.ca
Tue Nov 28 22:05:35 GMT 2006


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

Hi all,

This patch speeds up annotate by retrieving all relevent revisions at once.

Before:

$ time bzr annotate builtins.py > /dev/null

real    0m3.556s
user    0m2.700s
sys     0m0.300s

After:

$ time bzr annotate builtins.py > /dev/null
real    0m1.491s
user    0m1.400s
sys     0m0.050s

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

iD8DBQFFbLKv0F+nu1YWqI0RAn2JAJ0bdJGHKJh+G6D9jLLK3+VwRSuLcQCfbfZu
PICk5xu+u6s9Ax7ju1nRs08=
=ebAA
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: optimize-annotate.patch
Type: text/x-patch
Size: 2128 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061128/f05c6e33/attachment.bin 


More information about the bazaar mailing list