Package compsize

Utility for measuring compression ratio of files on btrfs

https://github.com/kilobyte/compsize

compsize takes a list of files (given as arguments) on a btrfs filesystem and
measures used compression types and effective compression ratio, producing
a report.

System Administration
Command Description
compsize calculate compression ratio of a set of files on btrfs