A while ago I did some simplistic SquashFS pack/unpack benchmarks[1][2]. I was primarily interested in looking at the behavior of my thread-pool based packer, but as a side effect I got a comparison of compressor speed & ratios over the various available compressors for my Debian test image.<p>I must say that LZ4 definitely stands out for both compression and uncompression speed, while still being able to cut the data size in half, making it probably quite suitable for life filesystems and network protocols. Particularly interesting was also comparing Zstd and LZ4[3], the former being substantially slower, but at the same time achieving a compression ratio somewhere between zlib and xz, while beating both in time (<i>in my benchmark</i> at least).<p>[1] <a href="https://github.com/AgentD/squashfs-tools-ng/blob/master/doc/benchmark.txt" rel="nofollow">https://github.com/AgentD/squashfs-tools-ng/blob/master/doc/...</a><p>[2] <a href="https://github.com/AgentD/squashfs-tools-ng/blob/master/doc/benchmark.ods" rel="nofollow">https://github.com/AgentD/squashfs-tools-ng/blob/master/doc/...</a><p>[3] <a href="https://github.com/AgentD/squashfs-tools-ng/blob/master/doc/benchmark.txt#L233" rel="nofollow">https://github.com/AgentD/squashfs-tools-ng/blob/master/doc/...</a>