mbrotli joins the upstream lzbench benchmark suite
The lzbench project merged a safe-Rust Brotli codec, giving mbrotli a place beside Google’s C implementation for repeatable comparisons. The integration also handles a practical build edge case: Rust codecs are linked together to avoid duplicate runtime symbols, with a Rust 1.89+ requirement for mbrotli and a fallback that still builds other codecs on older toolchains.
The author’s single-threaded Silesia run found similar compression sizes at levels 0–9 and faster decompression in that setup; treat these as initial measurements, not a broad benchmark. Review comments traced small q10/q11 size differences to -ffast-math changing floating-point search calculations in lzbench’s C build. A normal C Brotli build matched mbrotli’s outputs. The maintainer also requested and received offline dependency vendoring and extra CI coverage after the merge.