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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e7e6e919cef50811 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-15 04:14:01 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!194.159.255.21.MISMATCH!dispose.news.demon.net!news.demon.co.uk!demon!pipehawk.demon.co.uk!not-for-mail From: john.mccabe@emrad.ns.com (John McCabe) Newsgroups: comp.lang.ada Subject: Re: comparing gnat/Ada95 and g77 Date: Fri, 15 Mar 2002 12:14:37 GMT Organization: Emrad Ltd Message-ID: <3c91e566.11654107@news.demon.co.uk> References: <3c907c86.6094213@news.demon.co.uk> NNTP-Posting-Host: pipehawk.demon.co.uk X-NNTP-Posting-Host: pipehawk.demon.co.uk:158.152.226.81 X-Trace: news.demon.co.uk 1016194420 nnrp-12:2973 NO-IDENT pipehawk.demon.co.uk:158.152.226.81 X-Complaints-To: abuse@demon.net X-Newsreader: Forte Free Agent 1.21/32.243 Xref: archiver1.google.com comp.lang.ada:21278 Date: 2002-03-15T12:14:37+00:00 List-Id: On Fri, 15 Mar 2002 11:44:10 +0100, Reinert Korsnes wrote: >Thanks all for response. > >For the Ada95 program I used: > > gnatmake test1.adb -cargs -O3 -ffast-math > >and for the Fortran version I used: > > f77 -c -O3 -ffast-math test1.f (and f77 -o test1 test1.o) > >Ada: 11.8 s > >Fortran: 2.7 s That seems like an incredible difference, especially as I would have thought the IO is making up a significant part of this.