[MERGE] don't use gzip -9 to compress knits.

Robert Collins robertc at robertcollins.net
Fri Aug 31 00:39:44 BST 2007


I tracked down the root cause of the performance difference in GzipFile.

Its non-obvious unless you read the docstring, but the default
compression level is 9 - this is quite different to the command line
gzip and not something I'd thought to look for before.

Sigh.

Anyhow, heres an easy 30 second win on a large tree commit.

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compression-level.patch
Type: text/x-patch
Size: 3988 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070831/55a5ae26/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070831/55a5ae26/attachment.pgp 


More information about the bazaar mailing list