4 ms·
Could be that Zstandard outperformes it but I also have similar good experience with brotli. Good compression speed ratio (use q 1 for brotli lower than 0.6):
by therealmarv 8y ago
Could be that Zstandard outperformes it but I also have similar good experience with brotli.
Good compression speed ratio (use q 1 for brotli lower than 0.6):
tar -I"brotli -q 2" -cvf file.tar.br inputfiles
Decompression:
tar -Ibrotli -xvf file.tar.br
It outperformes gzip and is near xz region without a lot of CPU power and is also blazing fast. Really useful if you have e.g. a big PostgreSQL db dump which you want to transfer to your own machine. Examples for Postgres dumping and restoring:
pg_dump adatabase | brotli -q 2 > dump.sql.br
brotli -d < dump.sql.br | psql -U postgres dbusernamehere