diff options
author | Alexander Kanavin <alex@linutronix.de> | 2024-11-20 16:32:04 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-21 12:16:28 +0000 |
commit | badb62ad010fdb95efe9cc0034822a64f5ebf4cc (patch) | |
tree | f6bcb91284ca0c61dfe9c3f63ab0ebafc01ea2b3 /scripts/lib/checklayer/cases/common.py | |
parent | 263468c351c6fb2834855bfdc034ffbb3e8983ad (diff) | |
download | poky-badb62ad010fdb95efe9cc0034822a64f5ebf4cc.tar.gz |
package_rpm: use zstd's default compression level
zstd uses 3 by default (and ZSTD_COMPRESSION_LEVEL is set to that),
while 19 is the highest and slowest.
It's not clear why 19 was picked to begin with, possibly
I copy-pasted it from rpm's examples without thinking:
https://git.yoctoproject.org/poky/commit/?h=master-next&id=4a4d5f78a6962dda5f63e9891825c80a8a87bf66
This brings significant speedups in rpm's compression step:
for example compressing webkitgtk takes 11s instead of 36s.
The rpm size increases from 175648k to 234860k. I think it's
a worthy default tradeoff.
(From OE-Core rev: f1c7d76361425c85d68ad1f61be1e7ff05df4bab)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/checklayer/cases/common.py')
0 files changed, 0 insertions, 0 deletions