Wow, 'info' asks a lot

Matthew D. Fuller fullermd at over-yonder.net
Thu Mar 27 02:26:53 GMT 2008


I happened to be watching a web log while I did a checkup on a branch,
and zow.  Standalone branch, one commit.  `bzr info http://[...]`
leads to 14 HTTP requests for 7 files.  None of them are even ranged,
so we ask for e.g. branch.conf in its entirety 6 times.  That seems a
tad excessive...

-Dhttp yields (names changed to protect the guilty):

0.489  > GET /some/branch/.bzr/branch-format
0.519  > GET /some/branch/.bzr/checkout/format
0.522  > GET /some/branch/.bzr/branch/format
0.535  > GET /some/branch/.bzr/repository/format
0.618  > GET /some/branch/.bzr/repository/pack-names
0.621  > HEAD /some/branch/.bzr/repository/shared-storage
0.629  > GET /some/branch/.bzr/branch/branch.conf
0.647  > GET /some/branch/.bzr/branch/branch.conf
0.652  > HEAD /some/branch/.bzr/repository/shared-storage
0.654  > HEAD /some/branch/.bzr/repository/shared-storage
0.662  > GET /some/branch/.bzr/branch/branch.conf
0.673  > GET /some/branch/.bzr/branch/branch.conf
0.683  > GET /some/branch/.bzr/branch/branch.conf
0.692  > GET /some/branch/.bzr/branch/branch.conf



-- 
Matthew Fuller     (MF4839)   |  fullermd at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.



More information about the bazaar mailing list