comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: GNAT function calling overhead
Date: 1995/04/07
Date: 1995-04-07T00:00:00+00:00	[thread overview]
Message-ID: <dewar.797290427@gnat> (raw)
In-Reply-To: 3m3d14$e21@theopolis.orl.mmc.com

T.E.D. asks a good question, did you turn optimizations on?

The Unix style in compilers is to default to no optimization. The code
generated by GCC with no optimization is horrible! 

It is very important that any performance measurements are made with
optimization turned on (-O3), otherwise they are completely meaningless.

We have wondered whether on the PC ports, it would be better to have
optimization on be the default, because this is more common with PC
compilers, and the extra time for compiling in -O3 mode on the PC is
very small (unlike some of the RISC machines).

I would be interested in people's input on this issue (optimization
default).





  reply	other threads:[~1995-04-07  0:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-04-06  0:00 GNAT function calling overhead Duncan Sands
1995-04-06  0:00 ` Colin James III
1995-04-06  0:00   ` Robb Nebbe
1995-04-07  0:00     ` Duncan Sands
1995-04-07  0:00     ` Robert Dewar
1995-04-06  0:00   ` Samuel Tardieu
1995-04-07  0:00   ` Tom Griest
1995-04-07  0:00     ` Robert Dewar
1995-04-07  0:00   ` Philip Brashear
1995-04-07  0:00   ` Robert Dewar
1995-04-06  0:00 ` Norman H. Cohen
1995-04-07  0:00 ` Robert Dewar
1995-04-07  0:00 ` Theodore Dennison
1995-04-07  0:00   ` Robert Dewar [this message]
1995-04-07  0:00 ` Kenneth Almquist
1995-04-07  0:00   ` Larry Kilgallen
1995-04-07  0:00     ` Robert Dewar
1995-04-07  0:00   ` Robert Dewar
1995-04-07  0:00   ` Colin James III
1995-04-07  0:00     ` Robert Dewar
replies disabled

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