Use lower compression level

In my testing, compression using level 14 is almost 3x faster than level 19, while compression ratio is only about 2% lower. In my opinion, it's definitely worth it.
This commit is contained in:
Kron4ek 2021-05-15 15:59:07 +05:00 committed by GitHub
parent b03f6dcab2
commit 62f247ee57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -201,7 +201,7 @@ EOF
# Create a squashfs image
clear
echo "Creating a squashfs image"
bash "${script}" mksquashfs sqfs image -b 256K -comp zstd -Xcompression-level 19
bash "${script}" mksquashfs sqfs image -b 256K -comp zstd -Xcompression-level 14
# Combine into a single executable
clear