Comparison/Benchmark: xz vs. bzip2

posted in: computer | 0
xz-Version: 5.1.0alpha (liblzma)
bzip2-Version: 1.0.6
uncompressed test-file: cd.iso (278,6 MB)
OS: Linux 3.14.2-amd64 SMP Debian 3.14.15-2 x86_64 GNU/Linux
Hardware: CPU: Intel core i3-4160 (2x 3,6 GHz physical cores, Hyperthreading = on)
MoBo: SuperMicro X10-SAE
RAM: 16 GB DDR3-1600 ECC
HDD: 6-disk RAID-Z2

 

.xz-Results:

xz parameter -1 -2 -3 -4 -5 -6 -7 -8 -9
compressed filesize (in MB) 107,9 98,1 97,5 95,4 93,6 93,2 92,5 92,0 90,0
compressing time (in s) 20 38 44 61 75 88 90 90 97
decompressing time (in s) 4 4 4 4 4 4 4 4 4

 

.bzip2-Results:

bzip2 parameter -6 -7 -8 -9
compressed filesize (in MB) 111,3 111,0 110,4 110,0
compressing time (in s) 25 26 27 28
decompressing time (in s) 10 10 10 10