comp.lang.ada
 help / color / mirror / Atom feed
From: Mats Weber <matsw@mail.com>
To: Harald.Schmidt@tomcat.de
Subject: Re: GNAT & GCC performace (bad news)
Date: 1999/12/03
Date: 1999-12-03T09:51:14+00:00	[thread overview]
Message-ID: <38479292.343828C4@mail.com> (raw)
In-Reply-To: B46CA6A1.2991%Harald.Schmidt@tomcat.de

The level of optimization is very important if you are using gcc, and
could very well account for your 50%. With -O0 (the default) gcc
generates easy to debug but quite inefficent code (look at the gcc
docs). You really have to use at least -O1 if you want your comparison
to be meaningful.

And you have to suppress checks in Ada to compare with C.




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

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-02  0:00 GNAT & GCC performace (bad news) Harald Schmidt
1999-12-02  0:00 ` Dmitriy Anisimkov
1999-12-02  0:00 ` nabbasi
1999-12-02  0:00 ` David Starner
1999-12-02  0:00 ` James E. Hopper
1999-12-03  0:00   ` Robert A Duff
1999-12-04  0:00   ` Robert Dewar
1999-12-04  0:00     ` Harald Schmidt
1999-12-02  0:00 ` Tucker Taft
1999-12-03  0:00 ` Geoff Bull
1999-12-03  0:00   ` Larry Kilgallen
1999-12-06  0:00     ` Robert Dewar
1999-12-06  0:00       ` Larry Kilgallen
1999-12-06  0:00         ` Robert A Duff
1999-12-07  0:00           ` Robert Dewar
1999-12-07  0:00             ` Tucker Taft
1999-12-08  0:00               ` Robert Dewar
1999-12-08  0:00                 ` Ada2001
1999-12-09  0:00             ` Wes Groleau
1999-12-10  0:00               ` Robert Dewar
1999-12-10  0:00                 ` Arthur Evans Jr
1999-12-11  0:00                   ` Robert Dewar
1999-12-17  0:00               ` Richard Kenner
1999-12-07  0:00         ` Robert Dewar
1999-12-03  0:00   ` Geoff Bull
1999-12-03  0:00 ` Mats Weber [this message]
1999-12-03  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