Run the same input through gzip, brotli, and raw deflate at max settings and report each one's output size and ratio. Use this to decide which algorithm to actually use — the answer depends on your content (binary often resists compression entirel...