================================================================

Benchmarks:
-----------

Times are for A3000/25 (8M fast, 2M chip) with all files in RAM:
loading times are not included. No tasks were running in the
background except for the inavoidable DOS processes + workbench.
To avoid memory fragmentation the machine was rebooted before
each benchmark. Operating system is KickStart V2.04. Data and
instruction caches+burst mode were on.

All times are in seconds, and sizes in bytes. Default settings
used unless specified. Entries are sorted by compression time.
Extract time is without disk access (actually it's the TEST
time). All console output suppressed in all tests.

The portable LHa and HPack were compiled with GCC 2.0, with
`-O2 -fstrength-reduce -ffomit-frame-pointer -m68030' as
optimization flags. Some functions were made inline to improve
speed.

================================================================

DLGMSGS.txt - various BBS msgs.     Original: 1991842 bytes

                           Time comp  Time decmp Size comp
                           ---------  ---------- ---------
Zoo V2.01          LZC       44          15.0      1098202
LhA V1.31 -v9 -Qh64 lh5      47           7.9       721426 (030)
LhA V1.30 -v0 -Qh64 lh5      50           7.9       721116 (030)
LhA V1.30 -Qh64   -lh4-      50           7.9       775953
LhA V1.30 -Qh64   -lh5-      54           7.9       721118
LhA eval V1.22    -lh4-      71           8.4       776610
LhA V1.22  -Qh64  -lh5-      72           7.9       721139
LhA eval V1.22    -lh5-      74           7.9       724567
LhA eval V1.22    -lh1-     101          24.4       779749
Zoo V2.10          LZC      123          49.2      1098202
LZ V1.92          -lh1-     164          34.2       779766
LZ V1.92          -lh5-     210          15.9       724599
LhArc V1.30       -lh1-     298          56.6       807094
Zoo V2.10          ah       310          35.8       725072
Portable lha 0.04 -lh5-     370          35.0       725070
HPack 0.75beta              440         195         637389
================================================================

Calgary corpus - 3.2MB of text, binary and graphics data
                 in 21 files.

                          Time comp Time decmp Size comp
                          --------- ---------- ---------
Zoo V2.01         LZC       61         23.9      1491922
LhA V1.31 -v9Qh64 lh5       90         12.9      1141866  (030)
LhA V1.30 -Qh64  -lh4-     111         12.9      1186291  (reg)
LhA V1.31 -Qh64  -lh5-     115         12.9      1137191  (030)
LhA V1.30        -lh1-     116         36.0      1199680  (reg)
LhA V1.30 -Qh64  -lh5-     122         12.9      1136244  (reg)
LhA V1.30        -lh5-     124         12.9      1139622  (reg)
LhA V1.11 -Qh64  -lh5-     174         12.9      1136244  (eval)
LhA V1.11        -lh5-     175         12.9      1139622  (eval)
LhA V1.11        -lh1-     189         36.0      1199680  (eval)
LhA V1.31 -v0Qh64 lh5      227         12.9      1136496  (030)
LZ V1.92         -lh1-     263         51.2      1199209
LZ V1.92         -lh5-     383         27.0      1139178
PkAZip V1.02      imp      386         45.0      1196698
Zoo V2.10         ah       508         57.5      1140114
Zoo V2.10         LZC      ---         76.1      1491922
Pkax V1.0       crunch     ---         51.1      -------
HPack 0.75beta            5422 (!)    364        1048326
                            ^
                            |
Most of the time spent on one single file (pic = gfx data).

================================================================

Backup of my SRC: directory, contains various sources (mostly C)
and binaries. Archive on Quantum 120LPS.

(-lh5- compression)

Listing of archive 'dl:test.lha':
Original  Packed Ratio    Date     Time    Name
-------- ------- ----- --------- --------  -------------
<...>
-----------------------------------------
16323405 8466106 48.1% 02-Apr-92 13:09:18   2094 files

Archive test times (in seconds)

LhA V1.22        86
LZ V1.92        362

================================================================

Backup of my C2: directory, containing various binaries. Also on
Quantum 120LPS.

(-lh5- compression)

Listing of archive 'dl:test.lha':
Original  Packed Ratio    Date     Time    Name
-------- ------- ----- --------- --------  -------------
<...>
-------- ------- ----- --------- --------
 8094050 5244699 35.2% 02-Apr-92 13:36:10   450 files

Archive test times (in seconds)

LhA V1.22        49
LZ V1.92        162

================================================================

This benchmark is by no means complete, it's only meant to give
you an idea how LhA compares with other more or less common
archivers.

When I get the time I will perform a larger test.

                                                       / Stefan

================================================================
