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: reason67@my-deja.com Subject: Re: Apex vs GNAT on solaris Date: 1999/12/07 Message-ID: <82hpbb$bod$1@nnrp1.deja.com>#1/1 X-Deja-AN: 557322271 References: <82hiuj$74o$1@nnrp1.deja.com> <82hk5c$80p$1@nnrp1.deja.com> <82hob6$avp$1@nnrp1.deja.com> X-Http-Proxy: NetCache@www-blv-proxy4.boeing.com: Version NetApp Release 3.4D6: Mon Aug 23 16:40:19 PDT 1999-Solaris, 1.0 x35.deja.com:80 (Squid/1.1.22) for client 12.13.226.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue Dec 07 01:53:49 1999 GMT X-MyDeja-Info: XMYDJUIDreason67 Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.05 [en]C-Boeing Kit (Win95; I) Date: 1999-12-07T00:00:00+00:00 List-Id: In article <82hob6$avp$1@nnrp1.deja.com>, Robert Dewar wrote: > In article <82hk5c$80p$1@nnrp1.deja.com>, > reason67@my-deja.com wrote: > > Start_Time := Ada.Calendar.Clock; > > Free (Last); > > Stop_Time := Ada.Calendar.Clock; > > This is completely hopeless methodology, of course you will > not get useful results this way, the time for a Free is > orders of magnitude faster than the clock resolution. Good to know. That would explain why it did not work :) > I recommend looking at the PIWG tests or at the ACES tests > for examples of how to do timing in a meaningful way. I will look into it. Thanks for the info. > In fact unless you have a lot of experience in the construction > of meaningful benchmarks, I think you will find the ACES > quicklook to be a much more meaningful comparison that tests > that you prepare yourself. There are simply too many pitfalls > in benchmark construction :-) Nope. I have alot of experience writing Ada and working for companies that say things are too slow when no one has ever checked. In this case, I decided to check. I have found alot of discrepencies so far. :) --- Jeffrey S. Blatt Sent via Deja.com http://www.deja.com/ Before you buy.