Archive-Unzip-Burst
view release on metacpan or search on metacpan
unzip-6.0/proginfo/perform.dos view on Meta::CPAN
Date: Wed, 27 Mar 1996 01:31:50 CET +0100
From: Christian Spieler (IKDA, THD, D-64289 Darmstadt)
Subject: More detailed comparison of MSDOS Info-ZIP programs' performance
Hello all,
In response to some additional questions and requests concerning
my previous message about DOS performance of 16/32-bit Info-ZIP programs,
I have produced a more detailed comparison:
System:
Cx486DX-40, VL-bus, 8MB; IDE hard disk;
DOS 6.2, HIMEM, EMM386 NOEMS NOVCPI, SMARTDRV 3MB, write back.
I have used the main directory of UnZip 5.20p as source, including the
objects and executable of an EMX compile for unzip.exe (to supply some
binary test files).
Tested programs were (my current updated sources!) Zip 2.0w and UnZip 5.20p
- 16-bit MSC 5.1, compressed with LZEXE 0.91e
- 32-bit Watcom C 10.5, as supplied by Kai Uwe Rommel (PMODE 1.22)
- 32-bit EMX 0.9b
- 32-bit DJGPP v2
- 32-bit DJGPP v1.12m4
The EMX and DJ1 (GO32) executables were bound with the full extender, to
create standalone executables.
A) Tests of Zip
Command : "<system>\zip.exe -q<#> tes.zip unz/*" (unz/*.* for Watcom!!)
where <#> was: 0, 1, 6, 9.
The test archive "tes.zip" was never deleted, this test
measured "time to update archive".
The following table contains average execution seconds (averaged over
at least 3 runs, with the first run discarted to fill disk cache);
numbers in parenteses specify the standard deviation of the last
digits.
cmpr level| 0 | 1 | 6 | 9
===============================================================
EMX win95 | 7.77 | 7.97 | 12.82 | 22.31
---------------------------------------------------------------
EMX | 7.15(40) | 8.00(6) | 12.52(25) | 20.93
DJ2 | 13.50(32) | 14.20(7) | 19.05 | 28.48(9)
DJ1 | 13.56(30) | 14.48(3) | 18.70 | 27.43(13)
WAT | 6.94(22) | 8.93 | 15.73(34) | 30.25(6)
MSC | 5.99(82) | 9.40(4) | 13.59(9) | 20.77(4)
===============================================================
The "EMX win95" line was created for comparison, to check the performance
of emx 0.9 with the RSX extender in a DPMI environment. (This line was
produced by applying the "stubbed" EMX executable in a full screen DOS box.)
B) Tests of UnZip
Commands : <system>\unzip.exe -qt tes.zip (testing performance)
<system>\unzip.exe -qo tes.zip -dtm (extracting performance)
The tes.zip archive created by maximum compression with the Zip test
was used as example archive. Contents (archive size was 347783 bytes):
1028492 bytes uncompressed, 337235 bytes compressed, 67%, 85 files
The extraction directory tm was not deleted between the individual runs,
thus this measurement checks the "overwrite all" time.
| testing | extracting
===================================================================
EMX | 1.98 | 6.43(8)
DJ2 | 2.09 | 11.85(39)
DJ1 | 2.09 | 7.46(9)
WAT | 2.42 | 7.10(27)
MSC | 4.94 | 9.57(31)
Remarks:
The executables compiled by me were generated with all "performance"
options enabled (ASM_CRC, and ASMV for Zip), and with full crypt support.
For DJ1 and DJ2, the GCC options were "-O2 -m486", for EMX "-O -m486".
( run in 0.684 second using v1.01-cache-2.11-cpan-5b529ec07f3 )