Story Details

  • Lzbench Compression Benchmark

    Posted: 2025-02-11 15:47:45

    Lzbench is a compression benchmark focusing on speed, comparing various lossless compression algorithms across different datasets. It prioritizes decompression speed and measures compression ratio, encoding and decoding rates, and RAM usage. The benchmark includes popular algorithms like zstd, lz4, brotli, and deflate, tested on diverse datasets ranging from Silesia Corpus to real-world files like Firefox binaries and game assets. Results are presented interactively, allowing users to filter by algorithm, dataset, and metric, facilitating easy comparison and analysis of compression performance. The project aims to provide a practical, speed-focused overview of how different compression algorithms perform in real-world scenarios.

    Summary of Comments ( 0 )
    https://news.ycombinator.com/item?id=43014190

    HN users generally praised the benchmark's visual clarity and ease of use. Several appreciated the inclusion of less common algorithms like Brotli, Lizard, and Zstandard alongside established ones like gzip and LZMA. Some discussed the performance characteristics of different algorithms, noting Zstandard's speed and Brotli's generally good compression. A few users pointed out potential improvements, such as adding more compression levels or providing options to exclude specific algorithms. One commenter wished for pre-compressed benchmark files to reduce load times. The lack of context/meaning for the benchmark data (it uses a "Silesia corpus") was also mentioned.