[PATCH 0 of 4 RFC] Reusing the zlib stream when compressing revlog chunks

Matt Mackall mpm at selenic.com
Tue Feb 9 20:20:02 CST 2010


On Tue, 2010-02-09 at 16:06 -0200, Wagner Bruna wrote:
> Hello,
> 
> Matt Mackall wrote:
> > Benoit Boissinot wrote:
> >> Could you add more results (bigger repo, kernel like)?
> 
> Will do. But the fastest link I have access to is ~4Mbit, so it may take a 
> little while...
> 
> >> And from the savings, how much comes from 00manifest ?
> > 
> > And you might try comparing before and after shrink-revlog
> > on the manifest.
> 
> Tested again with a crew repository (total size 25704k; plain 00manifest.d has 
> 8632k); all sizes are relative to plain crew:
> 
>                   shrinked  zlibstream  zlibstream and
>                   manifest     alone    shrinked manifest
> total              0.85       0.72       0.66
> 00manifest.d       0.54       0.48       0.30

That's quite respectable. Now we need to figure out a way to benchmark
its performance. Perhaps comparing dump/undumprevlog with old and new?

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial-devel mailing list