[MERGE] Speed up 'bzr reconcile' [was: Re: 'bzr reconcile' *really* slow]

Andrew Bennetts andrew at canonical.com
Mon Oct 15 10:16:38 BST 2007


Andrew Bennetts wrote:
> John Arbash Meinel wrote:
> [...]
> > I'm guessing this will help, but I'm worried about:
> > 
> > 1) Memory overflow on large trees. I have an LRUCache implementation
> > that (for whatever reason) never made it into core. I'll probably try to
> > separate it out again, and submit it.
[...]
> 
> > 2) It may not be quite enough. I'm currently at just shy of 48 hours of
> > runtime. And I'm at 533/2068. Which puts me at 186 total runtime. Or
> > just shy of 8 days of operation. A 5-fold improvement makes this 1.5
> > days. Which is quite a bit better, but I certainly would think something
> > like this should be in the hours range, not in the days range.
[...]

Ok, with the attached bundle I can reconcile bzr.dev in under 40 minutes and
310MB of memory on my pretty average laptop.

This isn't stunning but it's adequate for fixing bzr.dev, at least.  So I think
we should merge this bundle.  The changes are fairly straightforward.

-Andrew.




More information about the bazaar mailing list