comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.tsoh.plus-bug.bauhaus@maps.futureapps.de>
Subject: Re: Benchmarking
Date: Mon, 10 Aug 2009 20:17:21 +0200
Date: 2009-08-10T20:17:20+02:00	[thread overview]
Message-ID: <4a806430$0$31332$9b4e6d93@newsspool4.arcor-online.net> (raw)
In-Reply-To: <cbfd26ce-1c87-4606-8dd3-f413d2cbda89@n2g2000vba.googlegroups.com>

ravege wrote:
> 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?

A dumb measure might be to write a fresh file that the
OS hasn't seen yet.  Otherwise, could it be possible to
formalize Yannick's observations into a testing strategy
that would measure either program in a loop, for a a few
hours or so?



  parent reply	other threads:[~2009-08-10 18:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-10 15:39 Benchmarking ravege
2009-08-10 17:32 ` Benchmarking Yannick Duchêne Hibou57
2009-08-10 18:17 ` Georg Bauhaus [this message]
2009-08-10 20:23 ` Benchmarking Gautier write-only
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox