comp.lang.ada
 help / color / mirror / Atom feed
From: dennison@romulus23.DAB.GE.COM (Ted Dennison)
Subject: Re: Government Policy on Ada Acquisitions
Date: 9 Sep 1994 14:08:49 GMT
Date: 1994-09-09T14:08:49+00:00	[thread overview]
Message-ID: <34pq9h$b87@theopolis.orl.mmc.com> (raw)
In-Reply-To: 34nmfo$mpi@jac.zko.dec.com

In article <34nmfo$mpi@jac.zko.dec.com>, brett@ada9x.enet.dec.com (Bevin R. Brett) writes:
|> 
|> In article <34n3mk$3c8@theopolis.orl.mmc.com>, dennison@romulus23.DAB.GE.COM (Ted Dennison) writes...
|> 
|> >I wouldn't worry too much. I implemented a program in Sun (Verdix) Ada 
|> >and then translated it to GNAT (our customer site has no liscence for
|> >Sun Ada). GNAT's executable ran about %20 slower.
|> ...
|> >For you legal types, the program made heavy use of floating-point 
|> >math and very heavy use of disk I/O. Neither executable was compiled
|> >with optimizations.
|> 
|> 
|> It is REALLY SILLY to compare the execution times produced by two different
|> compilers for the same platform WITHOUT TURNING ON THE OPTIMISER!
|> 
|> Such poor benchmarking techniques, followed by the wide dissemination of the
|> results, are a major source of false information in the computer business.  It
|> is being practised by individuals, companies, and even trade magazines; and all
|> it does is cause totally bogus impressions of machines, languages, and compilers
|> to become "common knowlege".
|> 

Well, Bevin it could have been worse; I could have left out that information
altogether. I purposely mentioned the level of optimization I used so that
those more knowlegeable than I (and you CERTAINLY qualify) would be able 
to judge the validity of these figures. 

However, since GNAT is still unfinished, wouldn't it be MORE unfair to compare
its optimized code to the code produced by a commercial compiler that has fully
matured optimization capabilities? Perhaps someone associted with the GNAT project
could correct me on this point if I'm wrong. I'm sure you are absolutely correct
as far as comparing two COMMERCIAL compilers.

A far bigger problem with my numbers is that they are just ONE data point. There
is no evidence that a different application might not run 20% faster compiled 
under GNAT. 

I suspect the IO packages I used are the main speed culprit, not the compiler
optimizations. The Sun Ada IO packages appear to be much more complicated 
and low-level than the ones I used under GNAT.

T.E.D.



  reply	other threads:[~1994-09-09 14:08 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <aetechca.3.000FE9D9@powergrid.electriciti.com>
1994-09-07  3:26 ` Government Policy on Ada Acquisitions Michael M. Bishop
1994-09-07 15:52 ` Kevin D. Heatwole
1994-09-08 13:31   ` Ted Dennison
1994-09-08 19:47     ` Bevin R. Brett
1994-09-09 14:08       ` Ted Dennison [this message]
1994-09-09 16:05         ` david.c.willett
1994-09-09 16:41         ` Richard Kenner
1994-09-09 23:43           ` Robert Dewar
     [not found] ` <34kef8$l9f@jac.zko.dec.com>
1994-09-07 23:07   ` Michael Feldman
1994-09-08 13:14     ` Oliver E. Cole
1994-09-09  2:52       ` Michael Feldman
1994-09-08 12:34 Bob Wells #402
1994-09-10 18:54 ` Mark Bayern
  -- strict thread matches above, loose matches on Subject: below --
1994-09-08 14:45 CONDIC
     [not found] <INFO-ADA%94090809431667@vm1.nodak.edu>
1994-09-08 16:03 ` Michael Feldman
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox