Skip to content

Commit 28a26d6

Browse files
committed
cmd-compress: use level 10 for zstd compression
Based on the discussion in coreos/fedora-coreos-tracker#1660 level 10 seems to give us a good speedup versus size tradeoff.
1 parent 2b7db04 commit 28a26d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd-compress

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def compress_one_builddir(builddir):
119119
if args.compressor == 'xz':
120120
runcmd(['xz', '-c9', f'-T{t}', filepath], stdout=f)
121121
elif args.compressor == 'zstd':
122-
runcmd(['zstd', '-19', '-c', f'-T{t}', filepath], stdout=f)
122+
runcmd(['zstd', '-10', '-c', f'-T{t}', filepath], stdout=f)
123123
else:
124124
runcmd(['gzip', f'-{gzip_level}', '-c', filepath], stdout=f)
125125
file_with_ext = file + ext

0 commit comments

Comments
 (0)