aboutsummaryrefslogtreecommitdiffstats
path: root/genhdlist2
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-11-11 23:51:49 +0000
committerPascal Terjan <pterjan@mageia.org>2012-11-11 23:51:49 +0000
commit5128555cc25cb5c22b7b4ad2034eba9701d9f748 (patch)
tree4e587e50ce84b6b23152530889f88af1273f50fa /genhdlist2
parentd999775aef1d799c40373f122a34fd2e544e6f0a (diff)
downloadrpmtools-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
Diffstat (limited to 'genhdlist2')
-rw-r--r--genhdlist21
1 files changed, 1 insertions, 0 deletions
diff --git a/genhdlist2 b/genhdlist2
index e6ca4f1..0dabfe0 100644
--- a/genhdlist2
+++ b/genhdlist2
@@ -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";
}