From: ddxxdd@mixcom.com (Jeff Ding)
Newsgroups: comp.lang.pascal
Subject: TP6.0 turbo.tpl beta 1.1 replacement benchmarks
Date: 8 Apr 92 22:48:56 GMT
Article-I.D.: mixcom.1992Apr08.224856.20431
Organization: Milwaukee Internet Xchange BBS, Milwaukee, WI U.S.A.


I recently downloaded the new turbo.tpl (TPL60N11.ZIP) replacement from garbo
and ran a few benchmarks using the included programs.  I thought they would
be of general interest to everyone so I've summarized them here.  The
release of the program is still a beta version, but seems to work pretty
well.  The bugs mentioned on this newsgroup have apparently been fixed.

Some of the benchmarks show improvements, some do not.  Most noticable is
the decrease in performance of the REAL-Add and REAL-Sub routines.  The
decreases are probably due to improved precision and proper handling of
real numbers according to IEEE standards.  It is all documented in the
readme file contained in the ZIP.

Enjoy

jeff.ding@mixcom.com


-----------------------------------------------------------------------------
TURBO.TPL Performance Comparison

    TP 6.0 Turbo Pascal Library
              versus
TP 6.0 Runtime Library Update Beta 1.1

Tests run on:
  80286 12 MHz Computer
  2.5 MB RAM
  No Coprocessor
  DOS 5.0 Operating System
  Norton 6.0 SI rating of 9.0


Test Program:  ARITEST.PAS
                                                    PERFORMANCE
OPERATION (in usec)        TP 6.0 TPL   TP 6.0 RLU     INCREASE
----------------------------------------------------------------
LONG-Mul                         14.8         13.4        10.45%
LONG-Div                        115.2         17.2       569.77%
LONG-Abs                          5.9          5.9         0.00%
REAL-Float                       19.0         18.3         3.83%
REAL-Add                         31.7         33.8        -6.21%
REAL-Sub                         34.1         36.2        -5.80%
REAL-Mul                         51.4         48.6         5.76%
REAL-Mul (Short)                 19.7         20.0        -1.50%
REAL-Div                        183.1         70.7       158.98%
REAL-Sqr                         49.3         35.2        40.06%
REAL-Sqr (Short)                 11.0         10.0        10.00%
REAL-Int                         11.7         11.4         2.63%
REAL-Frac                        37.6         13.1       187.02%
REAL-Trunc                       16.6         21.0       -20.95%
REAL-Round                       16.6         21.0       -20.95%
REAL-Sqrt                      1133.4         48.3      2246.58%
REAL-Ln                         895.5        612.8        46.13%
REAL-Exp                        936.6        565.9        65.51%
REAL-Sin                        783.4        648.6        20.78%
REAL-Cos                        790.7        727.9         8.63%
REAL-ArcTan                     690.7        467.2        47.84%
----------------------------------------------------------------


Test Program:  DHRYSTON.PAS
                                                    PERFORMANCE
OPERATION                  TP 6.0 TPL   TP 6.0 RLU     INCREASE
----------------------------------------------------------------
Dhrystones / Sec:              2601.5       2671.7         2.70%
----------------------------------------------------------------


Test Program:  WHETSTON.PAS
                                                    PERFORMANCE
OPERATION                  TP 6.0 TPL   TP 6.0 RLU     INCREASE
----------------------------------------------------------------
REAL KWhetstones               99.661      142.796        43.28%
----------------------------------------------------------------


Test Program:  STRTEST.PAS
                                                    PERFORMANCE
OPERATION                  TP 6.0 TPL   TP 6.0 RLU     INCREASE
----------------------------------------------------------------
String-Benchmark (msec)          2823         1351       108.96%
----------------------------------------------------------------