Skip to content

Round‐trips scores

flanglet edited this page Aug 23, 2025 · 6 revisions

This page presents tables of compression/decompression round-trip scores for the Silesia tests.

The score is computed as such: score(lambda) = compTimeInSec + 2*decompTimeInSec + lambda*compSize

with lambda acting as a parameter used to mix the weights of the times and size respectively.

A lower score is better. Small lambdas favor the times while big lambdas favor the size.

The test machine is an Apple M3 24 GB Sonoma 14.6.1

Tested with Kanzi 2.4.0

lambda = 1e-8

Compressor Score Encoding (ms) Decoding (ms) Size Percentage
zstd 1.5.8 -T4 -2 1.14 147 150 69410383 32.75%
zstd 1.5.8 -T4 -5 1.24 300 154 62851716 29.65%
kanzi -l 2 1.55 326 270 68860099 32.49%
lz4 1.1.10 -T4 -4 1.57 527 121 79919901 37.71%
zstd 1.5.8 -T4 -9 1.62 752 137 59190090 27.93%
kanzi -l 1 1.77 461 252 80245856 37.86%
kanzi -l 3 2.01 684 344 64266936 30.32%
kanzi -l 4 2.34 802 463 61131554 28.84%
brotli 1.1.0 -2 2.39 907 402 68039159 32.10%
brotli 1.1.0 -6 4.86 3596 340 58557128 27.63%
kanzi -l 5 5.12 2087 1248 54025588 25.49%
zstd 1.5.8 -T4 -13 5.39 4537 138 57814719 27.28%
kanzi -l 6 8.22 3065 2329 49521392 23.36%
kanzi -l 7 10.87 3798 3298 47312772 22.32%
Apple gzip 430.140.2 -9 11.63 10406 273 67648481 31.92%
bzip2 1.0.8 -9 16.50 9673 3140 54602583 25.76%
bzip3 1.5.1.r3-g428f422 -j 4 16.93 8559 3948 47256794 22.30%
brotli 1.1.0 -9 21.03 19809 329 56414012 26.62%
zstd 1.5.8 -T4 -19 21.31 20482 151 52858610 24.94%
kanzi -l 8 47.16 14712 16009 43260254 20.41%
xz 5.8.1 -9 52.19 48516 1594 48774000 23.01%
kanzi -l 9 65.56 20395 22375 41858030 19.75%

lambda = 1e-7

Compressor Score Encoding (ms) Decoding (ms) Size Percentage
zstd 1.5.8 -T4 -5 6.89 300 154 62851716 29.65%
zstd 1.5.8 -T4 -9 6.95 752 137 59190090 27.93%
zstd 1.5.8 -T4 -2 7.39 147 150 69410383 32.75%
kanzi -l 2 7.75 326 270 68860099 32.49%
kanzi -l 3 7.80 684 344 64266936 30.32%
kanzi -l 4 7.84 802 463 61131554 28.84%
brotli 1.1.0 -2 8.51 907 402 68039159 32.10%
lz4 1.1.10 -T4 -4 8.76 527 121 79919901 37.71%
kanzi -l 1 8.99 461 252 80245856 37.86%
kanzi -l 5 9.99 2087 1248 54025588 25.49%
brotli 1.1.0 -6 10.13 3596 340 58557128 27.63%
zstd 1.5.8 -T4 -13 10.59 4537 138 57814719 27.28%
kanzi -l 6 12.68 3065 2329 49521392 23.36%
kanzi -l 7 15.13 3798 3298 47312772 22.32%
Apple gzip 430.140.2 -9 17.72 10406 273 67648481 31.92%
bzip3 1.5.1.r3-g428f422 -j 4 21.18 8559 3948 47256794 22.30%
bzip2 1.0.8 -9 21.41 9673 3140 54602583 25.76%
zstd 1.5.8 -T4 -19 26.07 20482 151 52858610 24.94%
brotli 1.1.0 -9 26.11 19809 329 56414012 26.62%
kanzi -l 8 51.06 14712 16009 43260254 20.41%
xz 5.8.1 -9 56.58 48516 1594 48774000 23.01%
kanzi -l 9 69.33 20395 22375 41858030 19.75%

lambda = 1e-6

Compressor Score Encoding (ms) Decoding (ms) Size Percentage
kanzi -l 6 57.24 3065 2329 49521392 23.36%
kanzi -l 7 57.71 3798 3298 47312772 22.32%
kanzi -l 5 58.61 2087 1248 54025588 25.49%
zstd 1.5.8 -T4 -9 60.22 752 137 59190090 27.93%
zstd 1.5.8 -T4 -13 62.63 4537 138 57814719 27.28%
brotli 1.1.0 -6 62.83 3596 340 58557128 27.63%
kanzi -l 4 62.86 802 463 61131554 28.84%
zstd 1.5.8 -T4 -5 63.46 300 154 62851716 29.65%
bzip3 1.5.1.r3-g428f422 -j 4 63.71 8559 3948 47256794 22.30%
kanzi -l 3 65.64 684 344 64266936 30.32%
kanzi -l 2 69.73 326 270 68860099 32.49%
brotli 1.1.0 -2 69.75 907 402 68039159 32.10%
zstd 1.5.8 -T4 -2 69.86 147 150 69410383 32.75%
bzip2 1.0.8 -9 70.56 9673 3140 54602583 25.76%
zstd 1.5.8 -T4 -19 73.64 20482 151 52858610 24.94%
brotli 1.1.0 -9 76.88 19809 329 56414012 26.62%
Apple gzip 430.140.2 -9 78.60 10406 273 67648481 31.92%
lz4 1.1.10 -T4 -4 80.69 527 121 79919901 37.71%
kanzi -l 1 81.21 461 252 80245856 37.86%
kanzi -l 8 89.99 14712 16009 43260254 20.41%
xz 5.8.1 -9 100.48 48516 1594 48774000 23.01%
kanzi -l 9 107.00 20395 22375 41858030 19.75%

lambda = 1e-5

Compressor Score Encoding (ms) Decoding (ms) Size Percentage
kanzi -l 8 479.33 14712 16009 43260254 20.41%
kanzi -l 7 483.52 3798 3298 47312772 22.32%
kanzi -l 9 483.73 20395 22375 41858030 19.75%
bzip3 1.5.1.r3-g428f422 -j 4 489.02 8559 3948 47256794 22.30%
kanzi -l 6 502.94 3065 2329 49521392 23.36%
xz 5.8.1 -9 539.44 48516 1594 48774000 23.01%
kanzi -l 5 544.84 2087 1248 54025588 25.49%
zstd 1.5.8 -T4 -19 549.37 20482 151 52858610 24.94%
bzip2 1.0.8 -9 561.98 9673 3140 54602583 25.76%
zstd 1.5.8 -T4 -13 582.96 4537 138 57814719 27.28%
brotli 1.1.0 -9 584.61 19809 329 56414012 26.62%
brotli 1.1.0 -6 589.85 3596 340 58557128 27.63%
zstd 1.5.8 -T4 -9 592.93 752 137 59190090 27.93%
kanzi -l 4 613.04 802 463 61131554 28.84%
zstd 1.5.8 -T4 -5 629.13 300 154 62851716 29.65%
kanzi -l 3 644.04 684 344 64266936 30.32%
brotli 1.1.0 -2 682.10 907 402 68039159 32.10%
Apple gzip 430.140.2 -9 687.44 10406 273 67648481 31.92%
kanzi -l 2 689.47 326 270 68860099 32.49%
zstd 1.5.8 -T4 -2 694.55 147 150 69410383 32.75%
lz4 1.1.10 -T4 -4 799.97 527 121 79919901 37.71%
kanzi -l 1 803.42 461 252 80245856 37.86%
Clone this wiki locally