Zlib-ng 2.2.3 Rings In The New Year With ~17.8% Faster Inflate For AVX2

Written by Michael Larabel in Free Software on 1 January 2025 at 06:33 AM EST. 1 Comment
FREE SOFTWARE
Zlib-ng 2.2.3 is out as the "next gen" Zlib replacement led by Hans Kristian Rosbach that retains a Zlib-compatible API while also offering a modernized API, modern C11 syntax, support for more CPU intrinsics, and other leading-edge features compared to upstream Zlib.

The Zlib-ng 2.2.3 project is out for the New Year as well as marking ten years of Zlib-ng being around for more aggressively shipping new performance optimizations atop Zlib.

With Zlib-ng 2.2.3 there is around 17.8% faster performance for inflate when running on x86_64 AMD/Intel processors supporting AVX2. The deflate performance is unchanged while the nearly 18% faster inflate performance is quite exciting and paired with a slightly smaller library size.

AMD Ryzen CPU with AVX2 support


Zlib-ng 2.2.3 on AArch64 systems is also seeing around 2.3% faster inflate performance but again no change for deflate performance.

The Zlib-ng 2.2.3 release also has various build system fixes, improved pipelining for AVX-512 chunking, RISC-V fixes, and various other minor optimizations.

Downloads and more details on the Zlib-ng 2.2.3 release via GitHub.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week