comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: Apex vs GNAT on solaris
Date: 1999/12/08
Date: 1999-12-08T00:00:00+00:00	[thread overview]
Message-ID: <82ktik$j4c$1@nnrp1.deja.com> (raw)
In-Reply-To: 82hokf$b9l$1@nnrp1.deja.com

In article <82hokf$b9l$1@nnrp1.deja.com>,
  reason67@my-deja.com wrote:
> This is true. I was actually personally concerned with the
> defaults that both compilers used.

It is completely meaningless to measure GNAT at -O0. The basic
code generation technique used is designed to generate extremely
inefficient code at this level, in a manner which is often hard
to duplicate with a hand written code generator :-)

From time to time we have discussed making the default -O2
-gnatn, *precisely* so that naive benchmarks run with default
options look better :-)

Seriously, you have to decide what you are doing here. If
you are measuring performance, then you need to make sure
you are selecting comparable levels of optimization.

If all you want to do is to find out the default options used
for optimization, then it is more efficient to simply read the
manuals to find this out, than to run meaningless comparisons
of times.

> > You also need to specify all other parameters. For instance,
> > if you are running tasking, make sure you are comparing
> > comparable underlying threads implementations, otherwise you
> > again have apples and oranges (e.g. which of the two threads
> > libraries did you use for GNAT).


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~1999-12-08  0:00 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-07  0:00 Apex vs GNAT on solaris reason67
1999-12-07  0:00 ` reason67
1999-12-07  0:00 ` Robert Dewar
1999-12-07  0:00   ` reason67
1999-12-08  0:00     ` Robert Dewar [this message]
1999-12-08  0:00       ` reason67
1999-12-08  0:00         ` Larry Kilgallen
1999-12-08  0:00         ` Robert Dewar
1999-12-08  0:00         ` Robert A Duff
1999-12-07  0:00   ` Roger Racine
1999-12-07  0:00     ` Samuel T. Harris
1999-12-07  0:00     ` Larry Kilgallen
1999-12-07  0:00     ` Jean-Pierre Rosen
1999-12-07  0:00     ` David Starner
1999-12-08  0:00       ` Robert Dewar
1999-12-08  0:00     ` Ted Dennison
1999-12-08  0:00     ` Robert Dewar
1999-12-08  0:00       ` Roger Racine
1999-12-08  0:00         ` Larry Kilgallen
1999-12-08  0:00           ` Roger Racine
1999-12-08  0:00             ` Larry Kilgallen
1999-12-08  0:00             ` tmoran
1999-12-09  0:00         ` Robert Dewar
1999-12-09  0:00           ` Roger Racine
1999-12-09  0:00             ` Mike Silva
1999-12-10  0:00               ` Robert Dewar
1999-12-09  0:00             ` Larry Kilgallen
1999-12-10  0:00               ` Robert Dewar
1999-12-16  0:00             ` Stefan Skoglund
1999-12-08  0:00       ` Robert A Duff
1999-12-07  0:00 ` reason67
1999-12-07  0:00 ` reason67
1999-12-07  0:00 ` reason67
1999-12-07  0:00 ` reason67
1999-12-07  0:00   ` Robert Dewar
1999-12-07  0:00     ` reason67
1999-12-07  0:00 ` reason67
1999-12-07  0:00   ` Robert Dewar
1999-12-07  0:00     ` Vladimir Olensky
1999-12-07  0:00       ` Vladimir Olensky
1999-12-09  0:00       ` Geoff Bull
1999-12-09  0:00         ` Vladimir Olensky
1999-12-09  0:00         ` Vladimir Olensky
1999-12-10  0:00           ` Vladimir Olensky
1999-12-07  0:00     ` reason67
1999-12-08  0:00       ` Robert Dewar
1999-12-08  0:00         ` reason67
1999-12-07  0:00 ` reason67
replies disabled

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