home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 55 / af055a.adf / Docs / Benchm.txt < prev    next >
Text File  |  1992-08-27  |  7KB  |  164 lines

  1. ================================================================
  2.  
  3. Benchmarks:   [ See bottom for specifications and comments]
  4. -----------
  5.  
  6. DLGMSGS.txt - various BBS msgs.     Original: 1991842 bytes
  7.  
  8.                            Time comp  Time decmp Size comp
  9.                            ---------  ---------- ---------
  10. LhA V2.00 alpha   -lh6-      36           3.2       690311 *NOTE
  11. LhA V2.00 alpha   -lh7-      52           6.5       584930 *NOTE
  12. PKZip V1.93a -mx  deflate   ***i486 System***       631780
  13. Zoo V2.01          LZC       44          15.0      1098202
  14. LhA V1.31r -v9Qh64 -lh5-     47           7.9       721426 (030)
  15. LhA V1.38r -v9Qh64 -lh5-     49           7.9       721426
  16. LhA V1.30r -v0Qh64 -lh5-     50           7.9       721116 (030)
  17. LhA V1.30r -Qh64   -lh4-     50           7.9       775953
  18. LhA V1.38r -v0Qh64 -lh5-     52           7.9       721116
  19. LhA V1.30r -Qh64   -lh5-     54           7.9       721118
  20. LhA V1.38e -v0Qh64 -lh5-     70           7.9       721116 (eval)
  21. Zoo V2.10          LZC      123          49.2      1098202
  22. LZ V1.92          -lh1-     164          34.2       779766
  23. Shrink 1.01b      Mode4     203         215.7       735193
  24. Shrink 1.01b      Mode7     207         164.3       597354
  25. LZ V1.92          -lh5-     210          15.9       724599
  26. LhArc V1.30       -lh1-     298          56.6       807094
  27. Zoo V2.10          ah       310          35.8       725072
  28. Portable lha 0.04 -lh5-     370          35.0       725070
  29. HPack 0.75beta              440         195         637389
  30.  
  31. *NOTE: LhA V2.00 alpha is only a experimental version of
  32.        LhA V2.00. It is not optimized and compression
  33.        performance/speed may be better or worse in the
  34.        final version depending on various implementation
  35.        decisions. The -lh6- in particular may be changed
  36.        or scrapped entirely.
  37.  
  38. ================================================================
  39.  
  40. Calgary corpus - 3.2MB of text, binary and graphics data
  41.                  in 21 files.
  42.  
  43.                           Time comp Time decmp Size comp
  44.                           --------- ---------- ---------
  45. Zoo V2.01         LZC       61         23.9      1491922
  46. LhA V1.31 -v9Qh64 lh5       90         12.9      1141866  (030)
  47. StuffIt 1.6      `Fast'    106         70.3      1415364
  48. LhA V1.30 -Qh64  -lh4-     111         12.9      1186291  (reg)
  49. LhA V1.31 -Qh64  -lh5-     115         12.9      1137191  (030)
  50. LhA V1.30        -lh1-     116         36.0      1199680  (reg)
  51. LhA V1.30 -Qh64  -lh5-     122         12.9      1136244  (reg)
  52. LhA V1.30        -lh5-     124         12.9      1139622  (reg)
  53. LhA V1.11 -Qh64  -lh5-     174         12.9      1136244  (eval)
  54. LhA V1.11        -lh5-     175         12.9      1139622  (eval)
  55. LhA V1.11        -lh1-     189         36.0      1199680  (eval)
  56. LhA V1.31 -v0Qh64 lh5      227         12.9      1136496  (030)
  57. CompactPro 1.31   .CPT     232         78.1      1181639
  58. LZ V1.92         -lh1-     263         51.2      1199209
  59. Shrink 1.01b     Mode4     366        337.4      1152168
  60. LZ V1.92         -lh5-     383         27.0      1139178
  61. PkAZip V1.02      imp      386         45.0      1196698
  62. Shrink 1.01b     Mode1     398        458.1      1342598
  63. Zoo V2.10         ah       508         57.5      1140114
  64. Shrink 1.01b     Mode7     568                   1043854
  65. StuffIt 1.6   `Best Guess' 654        113.0      1253526
  66. StuffIt 1.6     `Better'   905        113.0      1253526
  67. Zoo V2.10         LZC      ---         76.1      1491922
  68. Pkax V1.0       crunch     ---         51.1      -------
  69. HPack 0.75beta            5422 (!)    364        1048326
  70.                             ^
  71.                             |
  72. Most of the time spent on one single file (pic = gfx data).
  73.  
  74. ================================================================
  75.  
  76. Backup of my SRC: directory, contains various sources (mostly C)
  77. and binaries. Archive on Quantum 120LPS.
  78.  
  79. (-lh5- compression)
  80.  
  81. Listing of archive 'dl:test.lha':
  82. Original  Packed Ratio    Date     Time    Name
  83. -------- ------- ----- --------- --------  -------------
  84. <...>
  85. -----------------------------------------
  86. 16323405 8466106 48.1% 02-Apr-92 13:09:18   2094 files
  87.  
  88. Archive test times (in seconds)
  89.  
  90. LhA V1.22        86
  91. LZ V1.92        362
  92.  
  93. ================================================================
  94.  
  95. Backup of my C2: directory, containing various binaries. Also on
  96. Quantum 120LPS.
  97.  
  98. (-lh5- compression)
  99.  
  100. Listing of archive 'dl:test.lha':
  101. Original  Packed Ratio    Date     Time    Name
  102. -------- ------- ----- --------- --------  -------------
  103. <...>
  104. -------- ------- ----- --------- --------
  105.  8094050 5244699 35.2% 02-Apr-92 13:36:10   450 files
  106.  
  107. Archive test times (in seconds)
  108.  
  109. LhA V1.22        49
  110. LZ V1.92        162
  111.  
  112. ================================================================
  113.  
  114. Times are for A3000/25 (8M fast, 2M chip) with all files in RAM:
  115. loading times are not included. No tasks were running in the
  116. background except for the inavoidable DOS processes + workbench.
  117. To avoid memory fragmentation the machine was rebooted before
  118. each benchmark. Operating system is KickStart V2.04. Data and
  119. instruction caches+burst mode were on.
  120.  
  121. All times are in seconds, and sizes in bytes. Default settings
  122. used unless specified. Entries are sorted by compression time.
  123. Extract time is without disk access (actually it's the TEST
  124. time). All console output suppressed in all tests.
  125.  
  126. The portable LHa and HPack were compiled with GCC 2.0, with
  127. `-O2 -fstrength-reduce -ffomit-frame-pointer -m68030' as
  128. optimization flags. Some functions were made inline to improve
  129. speed.
  130.  
  131. `Shrink' was included mainly to show that order-0 arithmetic
  132. coding doesn't give you any major improvements compression-
  133. wise. Shrink in compression mode 4 uses the same dictionary
  134. size as LhA in -lh5- mode, but uses order-0 arithmetic encoding
  135. instead of adaptive Huffman coding, and as you can see the
  136. result is worse than LhA. The *big* disadvantage of arithmetic
  137. coding can be seen in the decompression time column.. The reason
  138. why Mode7 is so much better than LhA in most cases is that the
  139. dictionary is 8 times as big as LhA's in that mode.
  140.  
  141. The Mac programs were included to see how LhA compares to the
  142. best archivers for another Platform. CompactPro and StuffIt
  143. Classic were run under System 6.5.1 on the same A3000/25 as all
  144. Amiga programs (using A-Max II+). As you can see, LhA out-
  145. performs both quite easily. Seems those Mac guys aren't too
  146. good at optimizing :-) Especially decompression is slow on the
  147. Mac archivers. `MacLHa V2.0' wasn't included in the test because
  148. it is *SO* slow I just couldn't stand it - wonder how on earth
  149. the porter managed to get it that slow, since LhA is more than
  150. 10 times faster.
  151.  
  152. ================================================================
  153.  
  154. This benchmark is by no means complete, it's only meant to give
  155. you an idea how LhA compares with other more or less common
  156. archivers.
  157.  
  158. When I get the time I will perform a larger test with more
  159. varying files.
  160.  
  161.                                                        / Stefan
  162.  
  163. ================================================================
  164.