[RFC/PLEASETEST] Per-file graph heads detection during commit for pack repositories.
James Henstridge
james at jamesh.id.au
Tue Nov 20 13:52:35 GMT 2007
On 20/11/2007, Robert Collins <robertc at robertcollins.net> wrote:
> On Tue, 2007-11-20 at 14:55 +0900, James Henstridge wrote:
> > On 13/11/2007, Robert Collins <robertc at robertcollins.net> wrote:
> > > This is a call for testing.
>
> > > It didn't speed it up nearly as much as I had hoped; I haven't yet
> > > profiled this in detail; I'll look at that some more a bit later,
> > > hopefully after feedback from other people - does this help or hinder
> > > commit of merges on packs for you?
> >
> > In my tests of packs, I ran into a few particularly slow "commit of
> > merge" cases.
> >
> > In one case, the commit took 1.25 hours to complete without this patch
> > (this is quite a large tree). After applying the patch, I was able to
> > do the same operation in about 12 seconds.
> >
> > So even if there are further possible performance enhancements, this
> > one seems worthwhile persuing in and of itself.
>
> Thank you for testing this; its good to know its faster for you. Can I
> enquire how many packs you have in that repository ?
There are 11 files under .bzr/repository/packs, totalling to 423MB.
James.
More information about the bazaar
mailing list