For a short article in the June issue of Linux Magazine, I needed to
compare the relative performance of gzip, bzip2, and rzip.
I used a 180MB mbox file, consisting of my non-spam e-mail from
last month. (I know, it's only one test and doesn't represent how the
tools will work on other data sets.)
command cpu time new size
------- -------- --------
gzip 17.63 sec 87 MB
gzip -9 23.26 sec 87 MB
bzip2 -9 114.90 sec 76 MB
rzip 57.00 sec 52 MB
It's interesting to note that gzip's default (-6) and "try hardest"
(-9) resulted in less than a 1MB difference.
I won't spoil the article by telling you the rest of the story here
(why you may or may not want to use a particular tool), but I thought
the numbers alone were pretty interesting.
Posted by jzawodn at April 07, 2004 02:22 PM
The opinions expressed here are mine and
mine alone. My current
, or previous
employers are not responsible for what I
write here, the comments left by others, or the photos I may share. If
you have questions, please contact
. Also, I am not a journalist or reporter. Don't "pitch" me.
I do not share or publish the email addresses
or IP addresses of anyone posting a comment here without consent.
However, I do reserve the right to remove comments that are spammy,
off-topic, or otherwise unsuitable based on my comment
. In a few cases, I may leave spammy comments but remove any
URLs they contain.