lzo and zstd are both advertised as fast loseless compression algorithm, and are implemented in btrfs filesystem. This benchmark tries to figure out which one is ideal for personal linux desktop usage, by simulating some common files that I might store.
The code is modified from https://gist.github.com/atoponce/353f4b4520d95ad71d3896b8aa21e166
test files are stored on
tmpfs
(in memory), to avoid hard drive bottleneck
CPU: 13th Gen Intel i9-13900H (20) @ 5.200GHz