comp.lang.ada
 help / color / mirror / Atom feed
From: Dmitriy Anisimkov <anisimkov@iforex.net>
Subject: Re: GNAT & GCC performace (bad news)
Date: 1999/12/02
Date: 1999-12-02T00:00:00+00:00	[thread overview]
Message-ID: <3846FBEC.3644984F@iforex.net> (raw)
In-Reply-To: B46CA6A1.2991%Harald.Schmidt@tomcat.de

Harald Schmidt wrote:

> gnat and gnu c. My experience while compiling and running
> the dhrystone benchmark was that the C version of the
> Dhrystone was nearly twice as fast as the Ada version, and
> this sounds really bad. Has anyone any idea why this
> is so and how to solve this problem. What I was expecting,
> because gnat isn't a compiler env. but a to-C(++) translator,
> the performance decrease about ten to twenty percent but
> not 50 percent.
>

You have to Suppress all runtime checks in GNAT by the
-gnatp switch to gcc or gnatmake for correct comparision.






  reply	other threads:[~1999-12-02  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 [this message]
1999-12-02  0:00 ` Tucker Taft
1999-12-02  0:00 ` nabbasi
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 ` David Starner
1999-12-03  0:00 ` Mats Weber
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 ` 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