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,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!n2g2000vba.googlegroups.com!not-for-mail From: ravege Newsgroups: comp.lang.ada Subject: Benchmarking Date: Mon, 10 Aug 2009 08:39:06 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 132.228.195.207 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1249918746 12099 127.0.0.1 (10 Aug 2009 15:39:06 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 10 Aug 2009 15:39:06 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: n2g2000vba.googlegroups.com; posting-host=132.228.195.207; posting-account=5z8IJQkAAAAuH1CVqapXiEqPOXq8UfDM User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:7669 Date: 2009-08-10T08:39:06-07:00 List-Id: I have a program that exports binary records to text format. A sample record might be 196MB and the resulting export text file 607MB. I've been using Text_Io to write out the text file, but inspired by the K- Nucleotide thread decided to give stream_io a try. So now I want to compare. I run the old Text_Io version and it takes 133 seconds to complete. I run the Stream_Io version, it completes in 88 seconds! Nice improvement, I want to get some more test points so I run the old version again and get a 99 second time, okay... I run the new version and get a 145 second time to completion. 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? I'm compiling with GNAT 20080521 build on Windows XP.