home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / PASCAL / BPL70N14 / TPPPERF.DOC < prev    next >
Text File  |  1993-05-20  |  16KB  |  356 lines

  1. +++++++++++++++++ TPP.TPL Performance Comparison ++++++++++++++++++++
  2.  
  3.                    BP 7.0 Turbo Pascal Library
  4.                               versus
  5.                 BP 7.0 Runtime Library Update 1.2
  6.  
  7.  
  8.       Performance data for Cyrix 486DLC, Intel RapidCAD, Intel 386DX,
  9.       and Intel 8086
  10.  
  11. Note: The time resolution in the ARITEST test program is about 0.3
  12.       usec, so the relative timing error can get quite large for
  13.       small times like those measured on a 386DX, 486DLC, or Intel
  14.       RapidCAD. For these processors, the times given in the table
  15.       represent the average of three measurements.
  16.  
  17.  
  18. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  19. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  20.  
  21.  
  22. Machine configuration: Cyrix 486DLC 40 MHz Computer w/ 128 kB CPU-cache
  23.                        8.0 MB of RAM
  24.                        Cyrix 387+ coprocessor
  25.                        DOS 5.0 Operating System
  26.  
  27.  
  28. Test Program: ARITEST.PAS
  29.  
  30.                                                          PERFORMANCE
  31. OPERATION (in usec)        BP 7.0 TPL    BP 7.0 RLU         INCREASE
  32. --------------------------------------------------------------------
  33. LONG-Mul                          2.9           2.3           26.09%
  34. LONG-Div                          4.0           4.2           -4.76%
  35. LONG-Abs                          0.4           0.4            0.00%
  36. REAL-Float                        3.8           3.7            2.70%
  37. REAL-Add                          7.1           7.2           -1.39%
  38. REAL-Sub                          7.6           7.9           -3.80%
  39. REAL-Mul                          7.1           7.1            0.00%
  40. REAL-Mul (Short)                  5.5           5.6           -1.79%
  41. REAL-Div                         42.4          11.0          285.45%
  42. REAL-Sqr                          6.9           5.6           23.21%
  43. REAL-Sqr (Short)                  2.9           2.9            0.00%
  44. REAL-Int                          3.7           3.8           -2.63%
  45. REAL-Frac                         9.3           3.1          200.00%
  46. REAL-Trunc                        4.3           4.2            2.38%
  47. REAL-Round                        4.3           4.2            2.38%
  48. REAL-Sqrt                       249.9           9.4         2558.51%
  49. REAL-Ln                         143.4          87.1           64.64%
  50. REAL-Exp                        161.4          74.8          115.78%
  51. REAL-Sin                        114.6          79.5           44.15%
  52. REAL-Cos                        118.5          77.9           52.12%
  53. REAL-ArcTan                     107.2          60.1           78.37%
  54. --------------------------------------------------------------------
  55.  
  56.  
  57. Test Program: DHRYSTON.PAS
  58.  
  59.                                                          PERFORMANCE
  60. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  61. --------------------------------------------------------------------
  62. Dhrystones / Sec:             10543.3       10864.7            3.05%
  63. --------------------------------------------------------------------
  64.  
  65.  
  66. Test Program: WHETSTON.PAS
  67.  
  68.                                                          PERFORMANCE
  69. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  70. --------------------------------------------------------------------
  71. REAL KWhetstones:             537.924       949.668           76.54%
  72. --------------------------------------------------------------------
  73.  
  74.  
  75. Test Program: STRTEST.PAS
  76.  
  77.                                                          PERFORMANCE
  78. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  79. --------------------------------------------------------------------
  80. String-Benchmark (msec)           704           401           75.56%
  81. --------------------------------------------------------------------
  82.  
  83.  
  84. Test Program: WHETST87.PAS
  85.  
  86.                                                          PERFORMANCE
  87. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  88. --------------------------------------------------------------------
  89. DOUBLE PRECISION KWhetstones:1956.947      2793.296           42.74%
  90. --------------------------------------------------------------------
  91.  
  92.  
  93. Test Program: LLL.PAS
  94.  
  95.                                                          PERFORMANCE
  96. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  97. --------------------------------------------------------------------
  98. DOUBLE PRECISION MFLOPS:       0.3860        0.4239            9.82%
  99. --------------------------------------------------------------------
  100.  
  101.  
  102. Test Program: SETTEST.PAS
  103.  
  104.                                                          PERFORMANCE
  105. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  106. --------------------------------------------------------------------
  107. Set benchmark (sec):           35.734        30.008           19.08%
  108. --------------------------------------------------------------------
  109.  
  110.  
  111. Test Program: LONGBN2.PAS
  112.  
  113.                                                          PERFORMANCE
  114. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  115. --------------------------------------------------------------------
  116. Longint benchmark (msec):         181           179            1.11%
  117. --------------------------------------------------------------------
  118.  
  119.  
  120. Test Program: HEAPTEST.PAS
  121.  
  122.                                                          PERFORMANCE
  123. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  124. --------------------------------------------------------------------
  125. Heap benchmark (msec):            123           120            2.50%
  126. --------------------------------------------------------------------
  127.  
  128.  
  129.  
  130. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  131. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  132.  
  133.  
  134. Machine configuration: Intel RapidCAD 40 MHz Computer w/ 128 kB CPU-cache
  135.                        8.0 MB of RAM
  136.                        on-chip coprocessor in RapidCAD
  137.                        DOS 5.0 Operating System
  138.                        QEMM 6.01
  139.  
  140.  
  141. Test Program: ARITEST.PAS
  142.  
  143.                                                          PERFORMANCE
  144. OPERATION (in usec)        BP 7.0 TPL    BP 7.0 RLU         INCREASE
  145. --------------------------------------------------------------------
  146. LONG-Mul                          3.2           3.5           -8.57%
  147. LONG-Div                          4.0           4.9          -18.37%
  148. LONG-Abs                          0.3           0.3            0.00%
  149. REAL-Float                        4.3           4.3            0.00%
  150. REAL-Add                          6.7           7.2           -6.94%
  151. REAL-Sub                          7.3           7.9           -7.59%
  152. REAL-Mul                         12.3          12.5           -1.60%
  153. REAL-Mul (Short)                  6.0           6.6           -9.09%
  154. REAL-Div                         36.1          15.3          135.95%
  155. REAL-Sqr                         12.1           8.9           35.96%
  156. REAL-Sqr (Short)                  3.5           2.9           20.69%
  157. REAL-Int                          3.2           3.1            3.23%
  158. REAL-Frac                         8.7           3.0          190.00%
  159. REAL-Trunc                        4.0           4.1           -2.50%
  160. REAL-Round                        4.0           4.1           -2.50%
  161. REAL-Sqrt                       220.7          12.4         1679.84%
  162. REAL-Ln                         188.3         113.4           66.05%
  163. REAL-Exp                        193.4          97.8           97.75%
  164. REAL-Sin                        164.8         105.8           55.77%
  165. REAL-Cos                        166.9         103.0           62.04%
  166. REAL-ArcTan                     144.0          78.7           82.97%
  167. --------------------------------------------------------------------
  168.  
  169.  
  170. Test Program: DHRYSTON.PAS
  171.  
  172.                                                          PERFORMANCE
  173. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  174. --------------------------------------------------------------------
  175. Dhrystones / Sec:              9284.9        9555.5            2.91%
  176. --------------------------------------------------------------------
  177.  
  178.  
  179. Test Program: WHETSTON.PAS
  180.  
  181.                                                          PERFORMANCE
  182. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  183. --------------------------------------------------------------------
  184. REAL KWhetstones:             461.467       719.942           56.01%
  185. --------------------------------------------------------------------
  186.  
  187.  
  188. Test Program: STRTEST.PAS
  189.  
  190.                                                          PERFORMANCE
  191. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  192. --------------------------------------------------------------------
  193. String-Benchmark (msec)           778           452           72.12%
  194. --------------------------------------------------------------------
  195.  
  196.  
  197. Test Program: WHETST87.PAS
  198.  
  199.                                                          PERFORMANCE
  200. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  201. --------------------------------------------------------------------
  202. DOUBLE PRECISION KWhetstones:2525.253      3484.321           37.98%
  203. --------------------------------------------------------------------
  204.  
  205.  
  206. Test Program: LLL.PAS
  207.  
  208.                                                          PERFORMANCE
  209. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  210. --------------------------------------------------------------------
  211. DOUBLE PRECISION MFLOPS:       0.6641        0.6367           -4.13%
  212. --------------------------------------------------------------------
  213.  
  214.  
  215. Test Program: SETTEST.PAS
  216.  
  217.                                                          PERFORMANCE
  218. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  219. --------------------------------------------------------------------
  220. Set benchmark (sec):           44.730        36.607           22.19%
  221. --------------------------------------------------------------------
  222.  
  223.  
  224. Test Program: LONGBN2.PAS
  225.  
  226.                                                          PERFORMANCE
  227. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  228. --------------------------------------------------------------------
  229. Longint benchmark (msec):         250 (*)       276          -10.40%
  230. --------------------------------------------------------------------
  231.  
  232. (*) original library gets wrong results due to bug in SHL, SHR routines
  233.  
  234.  
  235. Test Program: HEAPTEST.PAS
  236.  
  237.                                                          PERFORMANCE
  238. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  239. --------------------------------------------------------------------
  240. Heap benchmark (msec):            143           140            2.14%
  241. --------------------------------------------------------------------
  242.  
  243.  
  244.  
  245. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  246. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  247.  
  248.  
  249. Machine configuration: Intel 80386 40 MHz Computer w/ 128 kB CPU-cache
  250.                        8.0 MB of RAM
  251.                        Cyrix 387+ coprocessor
  252.                        DOS 5.0 Operating System
  253.  
  254.  
  255. Test Program: ARITEST.PAS
  256.  
  257.                                                          PERFORMANCE
  258. OPERATION (in usec)        BP 7.0 TPL    BP 7.0 RLU         INCREASE
  259. --------------------------------------------------------------------
  260. LONG-Mul                          3.8           3.8            0.00%
  261. LONG-Div                          4.8           5.9          -18.64%
  262. LONG-Abs                          0.5           0.5            0.00%
  263. REAL-Float                        6.0           5.4           11.11%
  264. REAL-Add                          9.7           9.7            0.00%
  265. REAL-Sub                         10.3          10.6           -2.83%
  266. REAL-Mul                         15.2          14.7            3.40%
  267. REAL-Mul (Short)                  8.0           8.2           -2.44%
  268. REAL-Div                         52.7          19.2          174.48%
  269. REAL-Sqr                         14.5          10.6           36.79%
  270. REAL-Sqr (Short)                  4.5           3.5           28.57%
  271. REAL-Int                          4.0           3.8            5.26%
  272. REAL-Frac                        11.4           4.1          178.05%
  273. REAL-Trunc                        5.3           5.4           -1.85%
  274. REAL-Round                        5.3           5.4           -1.85%
  275. REAL-Sqrt                       313.1          14.9         2001.34%
  276. REAL-Ln                         244.8         145.2           68.60%
  277. REAL-Exp                        255.5         126.0          102.78%
  278. REAL-Sin                        211.5         134.1           57.77%
  279. REAL-Cos                        214.1         130.9           63.56%
  280. REAL-ArcTan                     187.6         100.6           86.48%
  281. --------------------------------------------------------------------
  282.  
  283.  
  284. Test Program: DHRYSTON.PAS
  285.  
  286.                                                          PERFORMANCE
  287. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  288. --------------------------------------------------------------------
  289. Dhrystones / Sec:              8675.1        8702.7            0.32%
  290. --------------------------------------------------------------------
  291.  
  292.  
  293. Test Program: WHETSTON.PAS
  294.  
  295.                                                          PERFORMANCE
  296. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  297. --------------------------------------------------------------------
  298. REAL KWhetstones:             353.232       571.102           61.68%
  299. --------------------------------------------------------------------
  300.  
  301.  
  302. Test Program: STRTEST.PAS
  303.  
  304.                                                          PERFORMANCE
  305. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  306. --------------------------------------------------------------------
  307. String-Benchmark (msec)           842           513           64.13%
  308. --------------------------------------------------------------------
  309.  
  310.  
  311. Test Program: WHETST87.PAS
  312.  
  313.                                                          PERFORMANCE
  314. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  315. --------------------------------------------------------------------
  316. DOUBLE PRECISION KWhetstones:1550.388      2242.152           44.62%
  317. --------------------------------------------------------------------
  318.  
  319.  
  320. Test Program: LLL.PAS
  321.  
  322.                                                          PERFORMANCE
  323. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  324. --------------------------------------------------------------------
  325. DOUBLE PRECISION MFLOPS:       0.2870        0.3155            9.93%
  326. --------------------------------------------------------------------
  327.  
  328.  
  329. Test Program: SETTEST.PAS
  330.  
  331.                                                          PERFORMANCE
  332. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  333. --------------------------------------------------------------------
  334. Set benchmark (sec):           51.718        41.920           23.37%
  335. --------------------------------------------------------------------
  336.  
  337.  
  338. Test Program: LONGBN2.PAS
  339.  
  340.                                                          PERFORMANCE
  341. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  342. --------------------------------------------------------------------
  343. Longint benchmark (msec):         294 (*)       318           -7.55%
  344. --------------------------------------------------------------------
  345.  
  346. (*) original library returns wrong result due to bug in SHL, SHR routines
  347.  
  348.  
  349. Test Program: HEAPTEST.PAS
  350.  
  351.                                                          PERFORMANCE
  352. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  353. --------------------------------------------------------------------
  354. Heap benchmark (msec):            169           165            2.42%
  355. --------------------------------------------------------------------
  356.