From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,325a055bed62c230 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Apex vs GNAT on solaris Date: 1999/12/07 Message-ID: <82hnll$ahu$1@nnrp1.deja.com>#1/1 X-Deja-AN: 557313645 References: <82hiuj$74o$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x26.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue Dec 07 01:25:13 1999 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-12-07T00:00:00+00:00 List-Id: In article <82hiuj$74o$1@nnrp1.deja.com>, reason67@my-deja.com wrote: You need to say what options you are using for both compilers. We have sometimes found people making the *amazing* mistake of compiling GNAT with -O0. Generally the appropriate options for benchmarking are -O2 -gnatn. The options are critical, because otherwise you may simply be measuring differences in choices of default options. For example if one compiler inlines by default, the other one does not, then the comparison may be meaningless. 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). We often work with customers running benchmarks, and we often find that the comparisons are meaningless for various reasons, sometimes to the disadvantage of GNAT, sometimes to its bogus advantage. It is very hard to do meaningful comparison testing. Robert Dewar Ada Core Technologies Sent via Deja.com http://www.deja.com/ Before you buy.