From: dac@prolix.pub.uu.oz.au (Andrew Clayton)
Newsgroups: comp.sys.amiga.introduction
Subject: RE: LZ vs. Lharc
Date: Thu, 09 Apr 92 11:48:18 GMT
Reply-To: munnari!labtam!eyrie!prolix!dac
FollowUp-To: comp.sys.amiga.introduction
Keywords: 
Organization: More like Dis~, really.

In article <9204090537.AA17775@teetot.acusd.edu>, Greg Simon writes:

> LZ is _definitely_ the faster one.  I have noticed significant speed
> increases using it--and no CRC check problems!
> 
> It will handle .lzh *and* .lha !!!!
> 
> -Greg 

Stefan Boberg's LHA (lha_e111 on AB.20) is about two times
QUICKER than Jonathon Forbes LZ1.92, but seems far faster.

   pack 1.2mb file  from disk to ram

 LZ     -lh1-  1:26
        -lh5-  1:45  

LHA     -lh5-  0:48
        -lh1-  not tested

  unpack 1.2mb from ram to ram

 LZ     -lh1-  0:24
        -lh5-  0:11

LHA     -lh1-  0:18
        -lh5-  0:05

System: A2500; GVP Series II SCSI Controller with Quantum Pro 200Mb HD
               GVP A3001 68030/68882 accellerator @ 30.00Mhz
               1Mb chip
               4Mb 16bit RAM
               4Mb 32bit RAM
               ECS agnus + ECS denise
               WB 2.04
               PAL display (640*256)

Here's my script:
-------------------cut here-----------------
echo "Using LZ then LHa to pack mailbox"
date >ram:out
lz -n a mail uumail:mbox >>ram:out
date >>ram:out
lha -n a mail uumail:mbox >>ram:out
date >>ram:out
lha v mail.lzh >>ram:out
lha v mail.lha >>ram:out
nl mail*
echo "Using LZ to extract MBOX first in LH1 then in LH5 encoding"
date >>ram:out
lz -n x mail.lzh >>ram:out
date >>ram:out
del mbox
lz -n x mail.lha >>ram:out
date >>ram:out
del mbox
date >>ram:out
echo "Using LHa to extract MBOX first in LH1 then in LH5 encoding"
lha -n x mail.lzh >>ram:out
date >>ram:out
del mbox
lha -n x mail.lha >>ram:out
date >>ram:out
del mbox
----------------cut here-------------------

Here are the results [suitably edited ram.out]

Thursday 09-Apr-92 22:22:51

LZ 1.92 Archive/Extract Utility - Written by Jonathan Forbes
Frozen:   (47%) 1223004 -> 637673: mbox

Thursday 09-Apr-92 22:24:17  (1:26 for LZ)

LhA V1.11 - Copyright  1991,92 Stefan Boberg. Not for commercial use.
  Frozen: (50.8%) 1223004 => 600508 : mbox

Thursday 09-Apr-92 22:25:04  (0:48 for LHA) 

LhA V1.11 - Copyright  1991,92 Stefan Boberg. Not for commercial use.

Listing of archive 'mail.lzh':
Original  Packed Ratio    Date     Time    Name
-------- ------- ----- --------- --------  -------------
 1223004  637673 47.8% 09-Apr-92 20:40:34  mbox
-------- ------- ----- --------- --------
 1223004  637673 47.8% 09-Apr-92 22:24:16   1 files

Listing of archive 'mail.LHA':
Original  Packed Ratio    Date     Time    Name
-------- ------- ----- --------- --------  -------------
 1223004  600508 50.8% 09-Apr-92 20:40:34  mbox
-------- ------- ----- --------- --------
 1223004  600508 50.8% 09-Apr-92 22:25:04   1 files

Thursday 09-Apr-92 22:25:05

LZ 1.92 Archive/Extract Utility - Written by Jonathan Forbes
  Melted:  (1223004)  mbox               

Thursday 09-Apr-92 22:25:29  (24 seconds to extract)

LZ 1.92 Archive/Extract Utility - Written by Jonathan Forbes

 Melted:  (1223004)  mbox               

Thursday 09-Apr-92 22:25:40  (11 seconds to extract) 

Thursday 09-Apr-92 22:25:40
LhA V1.11 - Copyright  1991,92 Stefan Boberg. Not for commercial use.

 Extracting: ( 1223004)  mbox

Operation successful.

Thursday 09-Apr-92 22:25:58  (18 seconds to extract)

LhA V1.11 - Copyright  1991,92 Stefan Boberg. Not for commercial use.

 Extracting: ( 1223004)  mbox

Thursday 09-Apr-92 22:26:03  (5 seconds to extract)


Check it out for yourself.

Dac
--
munnari!labtam!eyrie!prolix!dac      David Andrew Clayton.           // _| _  _
  prolix!dac%eyrie@labtam.oz.au      Canberra, Australia           \X/ (_](_](_
        dac@prolix.pub.uu.oz.au      I post .
prolix!dac@sserve.cc.adfa.oz.au            . . I am.             +61 6 285 2537