Experiments with LZMA compression of bundles

Sune Foldager cryo at cyanite.org
Fri May 20 15:53:26 CDT 2011


On 20-05-2011 16:52, Michael Tharp wrote:
> On 05/20/2011 04:17 AM, Benoit Boissinot wrote:
>> Note that the vast majority of bundle operation are over http/ssh, in
>> that case bzip2 won't be used, so the fair comparison is against zlib.
>> My guess is that the CPU usage on the server will show a much bigger
>> difference.
>
> For offline compression xz at levels 1 and 2 tend to give gzip's "best"
> setting a run for its money (comparable time and better compression),
> and pretty much obsoletes bzip2 entirely at all levels.

Yes, I think lzma would be nice further on. At the moment, it's another 
dependency for us, though.

-Sune


More information about the Mercurial-devel mailing list