Gnus development mailing list
 help / color / mirror / Atom feed
From: Alan Shutko <ats@acm.org>
Subject: Re: nnml compression: state of the art?
Date: Thu, 29 Mar 2001 14:47:24 -0500	[thread overview]
Message-ID: <87bsqke4s8.fsf@wesley.springies.nom> (raw)
In-Reply-To: <01Mar29.141948est.115533@gateway.intersys.com>

Stainless Steel Rat <ratinox@peorth.gweep.net> writes:

> * merlyn@stonehenge.com (Randal L. Schwartz)  on Thu, 29 Mar 2001

> |       system '/bin/gzip', "-9v", $File::Find::name;
> 
> For the most part all that -9 will gain you over -1 is everything runs
> slower.

I disagree.  I tried it on a mail folder I have around:

20299155        Unzipped
 5719754        Gzipped -1
 4761790        Gzipped -9
 4795281        Gzipped (default)

Not much win in size over the default, but definately better than -1.

In terms of time:

time gzip [14:45:05] wesley:~/Library/MailArchive $ time gzip \#linux.kernel.2001-02.gz#

real	0m7.041s
user	0m4.870s
sys	0m0.150s
[14:45:14] wesley:~/Library/MailArchive $ !gun
gunzip \#linux.kernel.2001-02.gz#.gz
[14:45:21] wesley:~/Library/MailArchive $ time gzip -9 \#linux.kernel.2001-02.gz#

real	0m7.732s
user	0m5.530s
sys	0m0.160s
[14:45:34] wesley:~/Library/MailArchive $ gunzip \#linux.kernel.2001-02.gz#.gz
[14:46:26] wesley:~/Library/MailArchive $ time gzip -1 \#linux.kernel.2001-02.gz#

real	0m5.661s
user	0m2.830s
sys	0m0.220s


So, in general, I just leave things alone unless I want things to run
faster.

-- 
Alan Shutko <ats@acm.org> - In a variety of flavors!
A CONS is an object which cares.  -- Bernie Greenberg


  parent reply	other threads:[~2001-03-29 19:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-29  8:22 Bill White
2001-03-29 13:04 ` Karl Kleinpaste
2001-03-29 15:47 ` Stainless Steel Rat
2001-03-29 17:12   ` Randal L. Schwartz
2001-03-29 19:15     ` Stainless Steel Rat
2001-03-29 19:21       ` Paul Jarc
2001-03-29 22:01         ` Stainless Steel Rat
2001-03-30 13:01           ` Randal L. Schwartz
2001-03-29 19:46       ` Michael Livshin
2001-03-29 19:47       ` Alan Shutko [this message]
2001-03-29 22:26         ` Stainless Steel Rat
2001-03-30 10:44 ` Bill White

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bsqke4s8.fsf@wesley.springies.nom \
    --to=ats@acm.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).