mirror of
https://github.com/google/brotli.git
synced 2026-07-09 02:08:06 +00:00
Default python compression level (11) causes more delay than it's worth on larger files #500
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mudinthewater on GitHub (Mar 12, 2024).
Using a 7314288 byte (~7MB) json file as an example:

The image is kinda blown out, so here's the raw data:
I understand the desire to have the library put its highest compression quality out there first, but wouldn't it create an overall better impression on users if a faster default was used? Quality 8 provides nearly as good a result as 11, but it's almost 300 times faster.
@xnerhu commented on GitHub (Mar 26, 2025):
you can't trust python even with this little