PinePhone doesn’t so much performance on CPU and I saw Manjaro on PinePhone use gzip, it’s great, but do you hear about zlib-ng?
Here is benchmarks zlib-ng
Zlib-ng compression beats both hands down on speed. Zlib-ng is about 4x faster than zlib (w/zlib-ng minigzip), and 2.1x faster than stock gzip.
Zlib-ng decompression takes about 57% less time than zlib (w/zlib-ng minigzip), and 43% less time than gzip.
Zlib-ng loses a little on compressed size (due to 4-byte minimum match size instead of 3-byte). Level 6 zlib-ng loses with 41.038% vs 40.813% compressed size for gzip. Level 9 has 40.696% vs 40.549%.
Here is less than 1% different in the size, but zlib-ng is much faster than gzip.