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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,4d57448bacc78917 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!d4g2000vbm.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Yannick_Duch=EAne_Hibou57?= Newsgroups: comp.lang.ada Subject: Re: Benchmarking Date: Mon, 10 Aug 2009 10:32:44 -0700 (PDT) Organization: http://groups.google.com Message-ID: <9427bab5-bc0c-4eba-9e1b-a90420d94254@d4g2000vbm.googlegroups.com> References: NNTP-Posting-Host: 77.198.58.226 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1249925564 21924 127.0.0.1 (10 Aug 2009 17:32:44 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 10 Aug 2009 17:32:44 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d4g2000vbm.googlegroups.com; posting-host=77.198.58.226; posting-account=vrfdLAoAAAAauX_3XwyXEwXCWN3A1l8D User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; fr),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:7670 Date: 2009-08-10T10:32:44-07:00 List-Id: On 10 ao=FBt, 17:39, ravege wrote: > Is there some optimization I > should be turning on/off, some OS caching I can configure so I can get > less variation in my testing? =A0I'm compiling with GNAT 20080521 build > on Windows XP. Ensure you do not have any other program running, stop any uneeded processes, and run the program to test multiple times before you retain any measures. But this will still not be a more real measurement of anything, beceause all the variations you may get in other context... are still valid measures too. You may think about question like : is the program to be executed alone on a system ? Is it to be launched from time to time on a system which is most of time busy to something else ? Think about the execution context as a part of the stuff Then, you've just tested on Windows XP, so be sure you will get different result on an other system. Do not see it as a trouble. Each system is focused on something specific, whih its own runtime strategy, so if the efficiency of your application vary depending of each system specific properties (and on the fly state), this is just a normal thing.