4 ms·
Brotli actually has levels of compression that are more dense than gzip and compress/decompress faster. There is also a spec, xz has a reference implementation
by TheCondor 11y ago
Brotli actually has levels of compression that are more dense than gzip and compress/decompress faster. There is also a spec, xz has a reference implementation but no spec.
- nacs 11y ago> more dense than gzip and compress/decompress faster If you're saying brotli compresses/decompresses faster that gzip, it doesn't according to Cloudflare tests [1] (see table near bottom). Even the fastest compression level of Brotli is slower than the highest/slowest compression level of gzip in most cases. [1]: https://blog.cloudflare.com/results-experimenting-brotli/ https://blog.cloudflare.com/results-experimenting-brotli/
- cornstalks 11y ago> If you're saying brotli compresses/decompresses faster that gzip, it doesn't according to Cloudflare tests. It doesn't always compress faster, but as far as I can tell they didn't measure or say anything about decompression.
- Nelson69 11y agoI just did this: time bro --quality 6 --input linux-4.5.tar --output linux-4.5.tar.bro real 0m18.436s user 0m18.228s sys 0m0.184s time gzip -9 linux-4.5.tar real 0m30.555s user 0m30.424s sys 0m0.172s ls -lh (I removed the metadata): 106M linux-4.5.tar.bro 129M linux-4.5.tar.gz Only 82% of the size at 60% of the time. Now this is pure text so that's not a good example of everything.