Skip to main content
coreydaley.dev

Benchmarks

Wall-clock and compression ratio for every format Purrchiver writes, measured head-to-head against the standard command-line tool for each format. Purrchiver runs at its default Normal (level 5); the native tools run at their own defaults — i.e. what you actually get out of the box from each.

How it was measured. Purrchiver’s numbers come from its compression engine run without the app’s interface; the comparison numbers come from the stock command-line tools, at the exact versions listed for each machine below. Every run is serial — one compressor at a time, with the machine otherwise idle — and each figure is the best of two runs. Four data sets cover the cases that behave differently: highly compressible text, incompressible random data, a folder of many small files, and a large mixed corpus.

Both machines compress the same bytes, down to each file’s extended attributes, from the same build of the same source revision, against identical versions of every comparison tool — so the two tabs below are a hardware comparison and nothing else. Where a format can’t be byte-identical across machines by nature (Apple Archive embeds file creation dates; AES output carries a random salt), only that format’s ratio is affected, never its timing.

The comparison side is fully specified, so you can time the native tools yourself. The harness that drives Purrchiver’s engine isn’t public. If a number looks wrong, email corey@coreydaley.dev and I’ll re-check it.

Results

Each cell is time / ratio, where ratio = output ÷ input (lower = smaller output). A — means that tool doesn’t write that format. Start with the Summary, or pick a machine for the full tables:

Purrchiver matches or beats the standard command-line tools across essentially every format it writes — at its default settings, and there’s no format where it’s embarrassingly behind. Two machines below: an 8-P-core M2 Pro and a 4-P-core M4, measured on the same day from the same build against byte-identical data.

The wins come from a multithreaded engine:

  • tar.xz — roughly 5× faster than the built-in tar. On a 170 MB mixed corpus: 8.1 s vs 45.7 s on the M2 Pro, 9.9 s vs 53.3 s on the M4. Nothing that ships with macOS makes a fast tar.xz: the built-in tar compresses xz on a single core. (A current xz CLI, piped from tar, does use every core.)
  • Multi-file ZIP — parallel shard-and-merge. Fastest of the four tools on the mixed corpus on both machines (M2 Pro 1.85 s against 1.98–2.97 s; M4 1.72 s against 1.95–2.63 s).
  • 7z is at parity with the standard 7z tooling — same ratio, a hair faster (6.00 s vs 6.43 s on the M2 Pro; 5.87 s vs 6.25 s on the M4).
  • Small-file folders pack leaner and faster than the built-in tar — no AppleDouble bloat from macOS’s per-file extended attributes (189 % overhead against tar’s 441 %) — and at well under half the size of the system’s default zip (21.6 % against ditto’s 56.0 %).
  • lzip is ~1.5× faster than the standard CLI on both machines, and brotli is 25–33× faster on incompressible data — mostly because Purrchiver’s default is Brotli quality 9 and the CLI’s is 11, its slowest.
  • Streams otherwise hold parity with the standard CLIs.

Neither machine wins everywhere. On the large mixed corpus the 8-P-core M2 Pro is ahead on most of the compressed tar formats — including tar.xz (8.1 s vs 9.9 s) — while the 4-P-core M4 takes ZIP, 7z and most single-file streams. The pattern isn’t uniform across data sets either (the M4 wins tar.xz on incompressible data), which is why results are reported per machine: switch tabs for the full tables.

Honest caveats. iso on large data still favours the system’s built-in disk-image tool, the plain zip CLI packs small-file folders tighter than we do (17.4 % against our 21.6 %), and ZIP archives ≥ 4 GiB fall back to a correct single-threaded path (parallel Zip64 is deferred). The tar.xz multiplier is also lower than the ~7× this page reported in May — not a regression on our side (8.2 s then, 8.1 s now) but because the system tar itself got faster on that corpus.

Apple M2 Pro (MacBook Pro, Mac14,10) — 12-core, 8P + 4E — test environment
HostApple M2 Pro (MacBook Pro, Mac14,10) — 12-core, 8P + 4E · 16 GB unified memory
OSmacOS 26.6.2 (25G83)
EnginePurrchiver 1.0.1 · libarchive 3.8.7 · Normal (level 5)
MeasuredSeptember 2026
Native tool versions on this machine
Native command-line tool versions on this machine
7-Zip (7zz)26.03 (arm64)
zstd1.5.7
xz5.8.4
brotli1.2.0
Info-ZIP zip3.0 (Apple-modified)
bzip21.0.8
lz41.10.0
lzip1.26
tar (bsdtar)3.5.3 (libarchive 3.7.4)
gzipApple gzip 479
cpio (bsdcpio)3.5.3 (libarchive 3.7.4)
ditto / aa / hdiutilmacOS 26.6.2 system tools

1. Multi-file containers

Compressible (47.2 MB)

Compressible (47.2 MB) — Purrchiver vs native command-line tools (seconds, lower is better)
FormatPurrchiverdittoziptar7zzaa
zip0.13s / 0.3%0.12s / 0.3%0.18s / 0.3%—0.24s / 0.3%—
7z0.24s / 0.0%———0.18s / 0.0%—
tar.gz0.13s / 0.3%——0.12s / 0.3%——
tar.bz25.48s / 0.0%——5.57s / 0.0%——
tar.xz0.20s / 0.0%——0.54s / 0.0%——
tar.zst0.02s / 0.0%——0.02s / 0.0%——
tar.lz0.31s / 0.0%——0.52s / 0.0%——
tar.lz40.03s / 0.4%——0.03s / 0.4%——
aar0.03s / 0.1%————0.04s / 0.1%

Incompressible (48.0 MB)

Incompressible (48.0 MB) — Purrchiver vs native command-line tools (seconds, lower is better)
FormatPurrchiverdittoziptar7zzaa
zip0.59s / 100.0%0.82s / 100.0%0.87s / 100.0%—0.64s / 100.0%—
7z1.97s / 100.0%———1.91s / 100.0%—
tar.gz0.86s / 100.0%——0.84s / 100.0%——
tar.bz23.58s / 100.5%——3.65s / 100.4%——
tar.xz7.12s / 100.0%——12.75s / 100.0%——
tar.zst0.05s / 100.0%——0.04s / 100.0%——
tar.lz8.93s / 101.4%——12.46s / 101.4%——
tar.lz40.05s / 100.0%——0.05s / 100.0%——
aar0.05s / 100.0%————0.04s / 100.0%

Many small files (2.3 MB)

Many small files (2.3 MB) — Purrchiver vs native command-line tools (seconds, lower is better)
FormatPurrchiverdittoziptar7zzaa
zip0.14s / 21.6%0.94s / 56.0%0.08s / 17.4%—0.11s / 23.6%—
7z0.26s / 1.2%———0.09s / 1.0%—
tar.gz0.22s / 2.6%——1.12s / 7.9%——
tar.bz20.54s / 0.7%——1.70s / 2.4%——
tar.xz0.23s / 1.2%——1.68s / 3.2%——
tar.zst0.21s / 1.3%——1.11s / 4.8%——
tar.lz0.29s / 1.2%——1.67s / 3.2%——
tar.lz40.21s / 3.1%——1.11s / 11.4%——
aar0.84s / 2.0%————0.18s / 2.0%

Mixed (169.9 MB)

Mixed (169.9 MB) — Purrchiver vs native command-line tools (seconds, lower is better)
FormatPurrchiverdittoziptar7zzaa
zip1.85s / 98.6%2.97s / 98.6%2.47s / 98.8%—1.98s / 98.6%—
7z6.00s / 97.5%———6.43s / 97.5%—
tar.gz3.11s / 98.6%——3.11s / 98.6%——
tar.bz212.53s / 99.0%——12.79s / 98.8%——
tar.xz8.07s / 97.5%——45.67s / 97.5%——
tar.zst0.26s / 97.9%——0.14s / 97.9%——
tar.lz31.50s / 98.2%——45.10s / 98.2%——
tar.lz40.18s / 98.9%——0.17s / 98.9%——
aar0.13s / 98.6%————0.12s / 98.8%

2. Single-file compression streams

Purrchiver's .xz is multithreaded, and so is the native xz CLI — xz 5.8.4 defaults to using every core (-T0) — which is why single-file xz runs at parity here. The large tar.xz gap on the containers tab comes from macOS's built-in tar, whose xz path runs on one core. Brotli: at its Normal default Purrchiver uses Brotli quality 9, while the brotli CLI defaults to quality 11, its slowest, so most of the speed gap on incompressible data reflects the two defaults rather than a faster encoder. On the near-perfectly compressible text corpus both tools reduce 15.7 MB to well under 100 bytes, so the ratio column there says little either way.

Text — compressible (15.7 MB)

Text — compressible (15.7 MB) — Purrchiver vs native command-line tools (seconds, lower is better)
FormatPurrchivernative CLI
gzip0.05s / 0.3%0.04s / 0.3%
bzip21.77s / 0.0%1.83s / 0.0%
xz0.12s / 0.0%0.14s / 0.0%
zstd0.01s / 0.0%0.01s / 0.0%
brotli0.02s / 0.0%0.35s / 0.0%
lzma0.11s / 0.0%0.13s / 0.0%
lz40.01s / 0.4%0.01s / 0.4%
lzip0.11s / 0.0%0.37s / 0.0%

Random — incompressible (32.0 MB)

Random — incompressible (32.0 MB) — Purrchiver vs native command-line tools (seconds, lower is better)
FormatPurrchivernative CLI
gzip0.57s / 100.0%0.56s / 100.0%
bzip22.38s / 100.5%2.44s / 100.4%
xz6.25s / 100.0%6.34s / 100.0%
zstd0.04s / 100.0%0.02s / 100.0%
brotli0.76s / 100.0%25.18s / 100.0%
lzma8.30s / 101.4%8.75s / 101.4%
lz40.05s / 100.0%0.02s / 100.0%
lzip7.72s / 101.4%11.82s / 101.4%

3. Store-only containers (no compression — pack time + overhead)

Many small files (2.3 MB)

Many small files (2.3 MB) — Purrchiver vs native command-line tools (seconds, lower is better)
FormatPurrchivernative
tar0.21s / 189.2%1.08s / 441.5%
cpio0.21s / 116.3%1.07s / 115.3%
iso0.23s / 289.6%0.23s / 270.8%

Mixed (169.9 MB)

Mixed (169.9 MB) — Purrchiver vs native command-line tools (seconds, lower is better)
FormatPurrchivernative
tar0.14s / 100.0%0.13s / 100.0%
cpio0.13s / 100.0%0.63s / 100.0%
iso0.18s / 100.2%0.07s / 100.0%

4. Encrypted variants (AES-256 / AEA — crypto overhead)

AEA goes through Apple's AppleArchive framework for both tools (scrypt + lzfse), so the output is identical and archives are cross-readable — the native aa opens Purrchiver's password-encrypted .aea and vice-versa.

Mixed (169.9 MB)

Mixed (169.9 MB) — Purrchiver vs native command-line tools (seconds, lower is better)
FormatPurrchivernative (7zz / aa)
zip + AES-2562.11s / 98.6%2.09s / 98.6%
7z + AES-2566.44s / 97.5%6.91s / 97.5%
AEA (encrypted)0.19s / 98.9%0.17s / 98.9%
Apple M4 (Mac mini, Mac16,10) — 10-core, 4P + 6E — test environment
HostApple M4 (Mac mini, Mac16,10) — 10-core, 4P + 6E · 16 GB unified memory
OSmacOS 26.6.2 (25G83)
EnginePurrchiver 1.0.1 · libarchive 3.8.7 · Normal (level 5)
MeasuredSeptember 2026
Native tool versions on this machine
Native command-line tool versions on this machine
7-Zip (7zz)26.03 (arm64)
zstd1.5.7
xz5.8.4
brotli1.2.0
Info-ZIP zip3.0 (Apple-modified)
bzip21.0.8
lz41.10.0
lzip1.26
tar (bsdtar)3.5.3 (libarchive 3.7.4)
gzipApple gzip 479
cpio (bsdcpio)3.5.3 (libarchive 3.7.4)
ditto / aa / hdiutilmacOS 26.6.2 system tools

1. Multi-file containers

Compressible (47.2 MB)

Compressible (47.2 MB) — Purrchiver vs native command-line tools (seconds, lower is better)
FormatPurrchiverdittoziptar7zzaa
zip0.09s / 0.3%0.09s / 0.3%0.14s / 0.3%—0.21s / 0.3%—
7z0.18s / 0.0%———0.16s / 0.0%—
tar.gz0.09s / 0.3%——0.09s / 0.3%——
tar.bz24.50s / 0.0%——4.77s / 0.0%——
tar.xz0.25s / 0.0%——0.65s / 0.0%——
tar.zst0.03s / 0.0%——0.03s / 0.0%——
tar.lz0.32s / 0.0%——0.64s / 0.0%——
tar.lz40.03s / 0.4%——0.04s / 0.4%——
aar0.04s / 0.1%————0.06s / 0.1%

Incompressible (48.0 MB)

Incompressible (48.0 MB) — Purrchiver vs native command-line tools (seconds, lower is better)
FormatPurrchiverdittoziptar7zzaa
zip0.74s / 100.0%1.24s / 100.0%0.94s / 100.0%—0.74s / 100.0%—
7z1.99s / 100.0%———2.10s / 100.0%—
tar.gz0.76s / 100.0%——0.72s / 100.0%——
tar.bz23.28s / 100.5%——3.32s / 100.4%——
tar.xz5.90s / 100.0%——11.73s / 100.0%——
tar.zst0.05s / 100.0%——0.04s / 100.0%——
tar.lz10.70s / 101.4%——11.78s / 101.4%——
tar.lz40.05s / 100.0%——0.04s / 100.0%——
aar0.06s / 100.0%————0.07s / 100.0%

Many small files (2.3 MB)

Many small files (2.3 MB) — Purrchiver vs native command-line tools (seconds, lower is better)
FormatPurrchiverdittoziptar7zzaa
zip0.12s / 21.6%0.74s / 56.0%0.07s / 17.4%—0.09s / 23.6%—
7z0.21s / 1.2%———0.12s / 1.0%—
tar.gz0.19s / 2.6%——0.89s / 7.9%——
tar.bz20.48s / 0.7%——1.42s / 2.4%——
tar.xz0.18s / 1.2%——1.47s / 3.2%——
tar.zst0.17s / 1.3%——0.90s / 4.8%——
tar.lz0.24s / 1.2%——1.37s / 3.2%——
tar.lz40.18s / 3.1%——0.89s / 11.4%——
aar0.83s / 2.0%————0.18s / 2.0%

Mixed (169.9 MB)

Mixed (169.9 MB) — Purrchiver vs native command-line tools (seconds, lower is better)
FormatPurrchiverdittoziptar7zzaa
zip1.72s / 98.6%2.63s / 98.6%2.25s / 98.8%—1.95s / 98.6%—
7z5.87s / 97.5%———6.25s / 97.5%—
tar.gz3.25s / 98.6%——2.87s / 98.6%——
tar.bz213.18s / 99.0%——13.06s / 98.8%——
tar.xz9.88s / 97.5%——53.33s / 97.5%——
tar.zst0.20s / 97.9%——0.11s / 97.9%——
tar.lz34.25s / 98.2%——38.35s / 98.2%——
tar.lz40.14s / 98.9%——0.11s / 98.9%——
aar0.15s / 98.6%————0.14s / 98.8%

2. Single-file compression streams

Purrchiver's .xz is multithreaded, and so is the native xz CLI — xz 5.8.4 defaults to using every core (-T0) — which is why single-file xz runs at parity here. The large tar.xz gap on the containers tab comes from macOS's built-in tar, whose xz path runs on one core. Brotli: at its Normal default Purrchiver uses Brotli quality 9, while the brotli CLI defaults to quality 11, its slowest, so most of the speed gap on incompressible data reflects the two defaults rather than a faster encoder. On the near-perfectly compressible text corpus both tools reduce 15.7 MB to well under 100 bytes, so the ratio column there says little either way.

Text — compressible (15.7 MB)

Text — compressible (15.7 MB) — Purrchiver vs native command-line tools (seconds, lower is better)
FormatPurrchivernative CLI
gzip0.04s / 0.3%0.03s / 0.3%
bzip21.51s / 0.0%1.58s / 0.0%
xz0.10s / 0.0%0.11s / 0.0%
zstd0.01s / 0.0%0.01s / 0.0%
brotli0.02s / 0.0%0.29s / 0.0%
lzma0.08s / 0.0%0.10s / 0.0%
lz40.01s / 0.4%0.01s / 0.4%
lzip0.08s / 0.0%0.30s / 0.0%

Random — incompressible (32.0 MB)

Random — incompressible (32.0 MB) — Purrchiver vs native command-line tools (seconds, lower is better)
FormatPurrchivernative CLI
gzip0.47s / 100.0%0.46s / 100.0%
bzip22.12s / 100.5%2.17s / 100.4%
xz5.13s / 100.0%5.03s / 100.0%
zstd0.03s / 100.0%0.01s / 100.0%
brotli1.02s / 100.0%25.91s / 100.0%
lzma6.64s / 101.4%6.61s / 101.4%
lz40.03s / 100.0%0.01s / 100.0%
lzip5.77s / 101.4%8.85s / 101.4%

3. Store-only containers (no compression — pack time + overhead)

Many small files (2.3 MB)

Many small files (2.3 MB) — Purrchiver vs native command-line tools (seconds, lower is better)
FormatPurrchivernative
tar0.16s / 189.2%0.82s / 441.5%
cpio0.16s / 116.3%0.80s / 115.3%
iso0.17s / 289.6%0.17s / 270.8%

Mixed (169.9 MB)

Mixed (169.9 MB) — Purrchiver vs native command-line tools (seconds, lower is better)
FormatPurrchivernative
tar0.09s / 100.0%0.08s / 100.0%
cpio0.09s / 100.0%0.46s / 100.0%
iso0.13s / 100.2%0.04s / 100.0%

4. Encrypted variants (AES-256 / AEA — crypto overhead)

AEA goes through Apple's AppleArchive framework for both tools (scrypt + lzfse), so the output is identical and archives are cross-readable — the native aa opens Purrchiver's password-encrypted .aea and vice-versa.

Mixed (169.9 MB)

Mixed (169.9 MB) — Purrchiver vs native command-line tools (seconds, lower is better)
FormatPurrchivernative (7zz / aa)
zip + AES-2561.69s / 98.6%1.70s / 98.6%
7z + AES-2565.17s / 97.5%5.44s / 97.5%
AEA (encrypted)0.20s / 98.9%0.19s / 98.9%