'bzr branch' reads the same info multiple times

John Arbash Meinel john at arbash-meinel.com
Fri Nov 7 22:15:34 GMT 2008


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

John Arbash Meinel wrote:
> While tracking into the time spent for index work, I ran:
> 
> bzr -Dhttp -Dindex branch http://....
> 
> What I found rather enlightening, is that it seems we read all of the
> -format files 2 times.
> 
> This, along with accidentally reading the pack-names file 2x each time
> we lock the repository, means it actually takes approx 10s just to get
> to the point where we have opened the remote HTTP repo, and have the
> repository locked, in preparation for the next step.
> 

I just checked, and we read the http://...pack-names file 12 times
during "bzr branch". That seems a bit excessive to me.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkUvgYACgkQJdeBCYSNAAN8AQCgsINSsTlQM0G12SH9aa6l27t+
FREAnimqgzeXRyby0oQfB0M309e2tefY
=KIiQ
-----END PGP SIGNATURE-----



More information about the bazaar mailing list