[MERGE] Repository.get_parent_map

Robert Collins robertc at robertcollins.net
Mon Jan 14 05:35:09 GMT 2008


This adds a new smart server verb 'get_parent_map' which is used to get
parent map data from a smart server.

without this patch, bzr.dev, fetching the last 100 commits of bzr.dev
from London to here over bzr+ssh:
real    4m6.317s
user    0m9.473s
sys     0m0.772s

With the change to propogate find_ghosts (sent up previously, a
dependency for this patch):
real    1m49.106s
user    0m6.076s
sys     0m0.496s
(it took 30 seconds to determine the revisions to pull)

With this patch:
real    1m38.245s
user    0m5.996s
sys     0m0.540s
(it took 20 seconds to determine the revisions to pull)

Note that the source repository has 1 pack, so it is pretty much optimal
for revision index reads - the wins will be substantially more on less
packed repositories.

-Rob


-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-mail-UPz1On.patch
Type: text/x-patch
Size: 29524 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080114/6c9e427c/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080114/6c9e427c/attachment-0001.pgp 


More information about the bazaar mailing list