[PATCH 0 of 4 RFC] Reusing the zlib stream when compressing revlog chunks
Benoit Boissinot
benoit.boissinot at ens-lyon.org
Mon Feb 8 17:34:00 CST 2010
On Mon, Feb 08, 2010 at 09:20:47PM -0200, Wagner Bruna wrote:
> Hello,
>
> This is an experimental patch series to avoid resetting the
> zlib stream when compressing revlog chunks. Instead of
> compressing each delta chunk separately, the zlib stream used
> for decompressing each snapshot chunk is preserved, and
> reused for the decompression of its delta chunks.
>
Thanks for doing this.
>
> To try it, simply apply to a current hg, and clone --pull a
> repository. A sample result follows:
>
> $ du -sh hg-crew-*/.hg
> 24M hg-crew-vanilla/.hg
> 18M hg-crew-zlibstream/.hg
>
> This is actually my "best case"; most repositories on my
> tests reduced by only 4-10%. I'm not sure if that'd be a
> general rule, so if you try it, please send your results.
Could you add more results (bigger repo, kernel like)? And from the
savings, how much comes from 00manifest ?
thanks!
Benoit
--
:wq
More information about the Mercurial-devel
mailing list