Launchpad push with insane network download

Martin (gzlist) gzlist at googlemail.com
Mon Apr 19 17:09:32 BST 2010


On 14/04/2010, John Arbash Meinel <john at arbash-meinel.com> wrote:
>
> Some thoughts,

Thanks for the info John. Since the branch merged I've not had an
issue, so didn't get as far as bisecting the history to work out what
changed.

I have downloaded the partial repo from the bug, and noticed that
branching into it takes an inordinate amount of cpu time, which is
probably the cause of the initial hang.

Confusingly though, I can get a similar result branching out of the
shared repo to a fresh tree locally, so maybe whatever the issue was
it was cache related or something. It's possible repacking my local
repo might help, but I won't do it yet in case there's interest in
isolating a specific problem from all this.

Profile: <http://float.endofinternet.org/temp/bzr_branch_profile.txt.gz>
Log:
Mon 2010-04-19 16:38:09 +0100
0.218  bazaar version: 2.1.1
0.218  bzr arguments: [u'--lsprof-file', u'\\bzr_branch.txt',
u'branch', u'--no-tree', u'\\bzr\\bzr\\trivial_testskipped',
u'\\Temp\\plainbzr']
0.250  looking for plugins in C:/bzr/bazaar/2.0/plugins
0.250  looking for plugins in C:/Program Files/Bazaar/plugins
0.406  encoding stdout as sys.stdout encoding 'cp932'
0.547  opening working tree 'C:/bzr/bzr/trivial_testskipped'
0.578  opening working tree 'C:/bzr/bzr/trivial_testskipped'
0.593  creating repository in file:///C:/Temp/plainbzr/.bzr/.
0.625  Using fetch logic to copy between
CHKInventoryRepository('file:///C:/bzr/bzr/.bzr/repository/')(RepositoryFormat2a())
and CHKInventoryRepository('file:///C:/Temp/plainbzr/.bzr/repository/')(RepositoryFormat2a())
366.265  creating branch <bzrlib.branch.BzrBranchFormat7 object at
0x00F67910> in file:///C:/Temp/plainbzr/.bzr/
366.328  created new branch BzrBranch7('file:///C:/Temp/plainbzr/')
[  320] 2010-04-19 16:44:15.578 INFO: Branched 5013 revision(s).
[  320] 2010-04-19 16:44:15.812 INFO: Profile data written to "\bzr_branch.txt".
366.625  Transferred: 0KiB (0.0K/s r:0K w:0K)
366.625  return code 0

That's using the current all-in-one installer, for reproducibility.
For some reason I couldn't get bzr to give me an unmarshalable pickle,
so had to use text profile format.

Martin



More information about the bazaar mailing list