speeding up commits

Michael Ellerman michael at ellerman.id.au
Fri Dec 9 16:19:36 GMT 2005


On Fri, 9 Dec 2005 10:06, duchier at ps.uni-sb.de wrote:
> Here is a quick report on my progress speeding up commits.  My test
> example is a 1 line change, in 1 file, of a project with 1048
> entries.
>
>
>       HACK                                    | SECONDS
> ----------------------------------------------+--------
> [1] = stock bzr                               | 35
> [2] = [1] + "prelude" optimization            |  7.2
> [3] = [2] + "lifeless's BzrCherrypickMetada"  |  6.3
> [4] = [3] + caching "inventory" weave         |  5
> ----------------------------------------------+--------
>
>
> I am a little disappointed that [3] doesn't provide greater savings.
> [4] was a hack to get around the fact that the PassThroughTransaction
> object used during commits doesn't cache anything.

Nice. Have you got a patch/branch? I'd be keen to try it out on some of my 
(big) repos.

cheers

-- 
Michael Ellerman
IBM OzLabs

email: michael:ellerman.id.au
inmsg: mpe:jabber.org
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051209/47cd7a0a/attachment.pgp 


More information about the bazaar mailing list