# inikep/lzbench

lzbench is an in-memory benchmark of open-source compressors

Repository: https://github.com/inikep/lzbench
Canonical: https://ross.abutalabs.com/products/lzbench
Language: C
License: NOASSERTION
License Family: other
Topics: compressor, compression, benchmark, benchmarking, zstd, zlib, brotli, lz4
Last push: 2026-08-03T08:31:27+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 95, release rhythm 65, longevity 100
- inputs: {"age_days": 3959, "days_push": 30, "days_rel": 79, "gap_med": 103, "n_releases_24m": 6}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1078, forks 216 (observed 2026-08-28T04:03:29.861447+00:00)

## What it is
lzbench is an in-memory benchmarking tool that integrates many open-source compression libraries into a single executable to compare their compression and decompression speed and ratios. It compiles all compressors with the same compiler and optimizations for fair comparison.

## Use cases
- benchmark compression algorithms on my data
- compare zstd vs lz4 vs brotli speed and ratio
- measure decompression speed of compressors
- find the fastest compression algorithm for my workload
- test compression levels of a specific codec
- benchmark compressors on all files in a directory

## When to choose
- you need fair, same-compiler benchmarks across many compression libraries
- you want to pick a compressor based on measured speed/ratio on your own data
- you need reproducible compression benchmarks across platforms

## When to avoid
- you need a production compression library, not a benchmarking tool
- you need to benchmark compressors without available source code
- you need file-level or streaming compression benchmarks rather than in-memory

## Facets
- artifact type: cli-tool
- maturity: active
- function: benchmarking, compression, cli, developer-tools
- domain: performance, developer-tools, files
- platform: windows, cli, cpp, c
- tags: compression-benchmark, zstd, lz4, brotli, zlib, in-memory-benchmark, compressor-comparison, command-line, linux, macos

## Member repositories
- inikep/lzbench (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:29.861447+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:53:09.524186+00:00, confidence not recorded.
  - readme: https://github.com/inikep/lzbench (fetched 2026-08-28T04:03:29.861447+00:00, sha 7b3c2a70c7ef)
- Data as of 2026-08-30T08:39:29.467469+00:00.
