diff options
author | Pascal Terjan <pterjan@mageia.org> | 2012-11-11 23:51:49 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2012-11-11 23:51:49 +0000 |
commit | 5128555cc25cb5c22b7b4ad2034eba9701d9f748 (patch) | |
tree | 4e587e50ce84b6b23152530889f88af1273f50fa | |
parent | d999775aef1d799c40373f122a34fd2e544e6f0a (diff) | |
download | rpmtools-5128555cc25cb5c22b7b4ad2034eba9701d9f748.tar rpmtools-5128555cc25cb5c22b7b4ad2034eba9701d9f748.tar.gz rpmtools-5128555cc25cb5c22b7b4ad2034eba9701d9f748.tar.bz2 rpmtools-5128555cc25cb5c22b7b4ad2034eba9701d9f748.tar.xz rpmtools-5128555cc25cb5c22b7b4ad2034eba9701d9f748.zip |
Use external gzip to decompress hdlist.
On my machine, for a repository of 3000 packages, it goes from 7.8s real/7.6 user to 6.5 real/7.0 user
User time decreases because it seems to be faster by itself, real time probably because having another process allows them to run in parallel
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | genhdlist2 | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -1,3 +1,5 @@ +- use external gzip for decompression, faster + Version 6.5 - 5 September 2012, by Thierry Vignaud - compress XML data with xz instead of lzma @@ -172,6 +172,7 @@ sub build { archive => "$hdlist.tmp", compress => "gzip", uncompress => "gzip -d", + extern => 1, comp_level => 9, ) or die "Can't create archive"; } |