Results 1 to 7 of 7

Thread: gzip vs zlib; benchmarking considerations

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member SolidComp's Avatar
    Join Date
    Jun 2015
    Thanked 54 Times in 38 Posts

    gzip vs zlib; benchmarking considerations

    Hi all – The Large Text Compression Benchmark led me down a winding road on tracking down the canonical gzip and zlib applications. The LTCB uses an ancient version of gzip for Windows, which is almost certainly slower than current zlib for generating gzip files, and probably slower than GNU gzip. The gzip for Windows in the LTCB was released in 2006 or possibly earlier. Using that old build is therefore misleading with respect to how gzip or zlib actually performs compared to other codecs.

    If you want to include gzip or zlib in your benchmarks, these are the relevant websites:

    GNU gzip:


    As you know, zlib is generally used to generate gzip files, typically on web servers. zlib can also generate a zlib file format, but no one seems interested in it (is it another DEFLATE wrapper?), since browsers consume gzip.

    zlib is a library used for streaming applications, like the above mentioned web servers (nginx, Apache, IIS, H2O).

    GNU gzip is an end-user application included in most Linux and BSD distributions for compressing files as needed. (Is it called by other applications?) They have three different websites, as listed above.

    It might be worth including both in benchmarks (the latest versions).

  2. Thanks:

    introspec (14th August 2019)

Similar Threads

  1. Hash / Checksum algorithm considerations
    By Cyan in forum Data Compression
    Replies: 61
    Last Post: 16th June 2017, 00:28
  2. Multithread benchmarking
    By Sportman in forum Data Compression
    Replies: 2
    Last Post: 21st September 2016, 13:55
  3. Zlib-ng: a performance-oriented fork of zlib
    By dnd in forum Data Compression
    Replies: 0
    Last Post: 5th June 2015, 14:29
  4. my file compression considerations
    By JB_ in forum Data Compression
    Replies: 2
    Last Post: 5th May 2008, 19:47
  5. gzip-1.2.4-hack - a hacked version of gzip
    By encode in forum Forum Archive
    Replies: 63
    Last Post: 10th September 2007, 04:16

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts