HomePage » Linux » LinuxCompression


gzip vs bzip2 vs lzma


~/ time gzip -c teamviewer_linux.rpm > teamviewer_linux.rpm.gz
gzip -c teamviewer_linux.rpm > teamviewer_linux.rpm.gz  0.77s user 0.10s system 84% cpu 1.032 total
~/ time lzma -c teamviewer_linux.rpm > teamviewer_linux.rpm.lzma
lzma -c teamviewer_linux.rpm > teamviewer_linux.rpm.lzma  6.50s user 0.10s system 99% cpu 6.605 total
~/ time bzip2 -c teamviewer_linux.rpm > teamviewer_linux.rpm.bz2
bzip2 -c teamviewer_linux.rpm > teamviewer_linux.rpm.bz2  4.03s user 0.15s system 97% cpu 4.284 total

~/ ls -lh teamviewer_linux.rpm*                                 
-rw-r--r-- 1 kn kn 19M 2011-07-11 14:36 teamviewer_linux.rpm
-rw-r--r-- 1 kn kn 19M 2011-08-11 23:58 teamviewer_linux.rpm.bz2
-rw-r--r-- 1 kn kn 18M 2011-08-11 23:57 teamviewer_linux.rpm.gz
-rw-r--r-- 1 kn kn 18M 2011-08-11 23:57 teamviewer_linux.rpm.lzma

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki