comp.lang.ada
 help / color / mirror / Atom feed
From: Jacob Sparre Andersen <jacob@jacob-sparre.dk>
Subject: Re: Making measurements
Date: Mon, 26 Jul 2010 15:50:12 +0200
Date: 2010-07-26T15:50:12+02:00	[thread overview]
Message-ID: <87k4oitkrv.fsf@hugsarin.sparre-andersen.dk> (raw)
In-Reply-To: f50c9d72-a034-4ab7-a3e8-8d28847cc1ba@j8g2000yqd.googlegroups.com

Jonathan <johnscpg@googlemail.com> wrote:

> I did a few runs with the linux: time ./bench
> on an empty machine and got numbers like this:
>
>   0m3.612s  0m3.604s  0m3.620s  0m3.612s  0m3.620s  0m3.604s

Looks like we have a nice symmetric case where the average and the
median are the same. ;-)

> Some programs fluctuate hugely in running time .. never figured out
> why.

It may be something as simple as which core the program happens to be
running on.  Or which operating system processes are running in the
background.

In general it is a good idea to report an average of at least three
timing measurements and the standard deviation of the measurements.

Jacob
--
Jacob Sparre Andersen Research & Innovation
Vesterbrogade 148K, 1. th.
1620 K�benhavn V
Danmark

Phone:    +45 21 49 08 04
E-mail:   jacob@jacob-sparre.dk
Web-sted: http://www.jacob-sparre.dk/



  reply	other threads:[~2010-07-26 13:50 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-23  9:52 compiler settings in AdaGIDE Ada novice
2010-07-23 11:56 ` Gautier write-only
2010-07-23 14:23   ` Ada novice
     [not found]   ` <f72678ba-23ce-4c9a-b17e-b33fbd45300d@l14g2000yql.googlegroups.com>
2010-07-23 14:54     ` Georg Bauhaus
2010-07-23 15:16       ` Robert A Duff
2010-07-23 15:22         ` Georg Bauhaus
2010-07-23 16:51           ` sjw
2010-07-23 18:03             ` Robert A Duff
2010-07-23 18:27               ` Ada novice
2010-07-23 20:33                 ` Simon Wright
2010-07-23 19:31               ` Dmitry A. Kazakov
2010-07-23 21:01                 ` Robert A Duff
2010-07-23 22:32                   ` Peter C. Chapin
2010-07-24  1:48                   ` BrianG
2010-07-23 20:34               ` Simon Wright
2010-07-23 20:52                 ` Robert A Duff
2010-07-24 10:30                   ` Ada novice
2010-07-24 12:03                     ` Robert A Duff
2010-07-24 12:36                       ` Ada novice
2010-07-24 18:21 ` jonathan
2010-07-25 13:29   ` Ada novice
2010-07-25 19:30     ` Jeffrey R. Carter
2010-07-26 14:13       ` Ada novice
2010-07-26 15:48         ` sjw
2010-07-26 17:12           ` Dmitry A. Kazakov
2010-07-26 17:18           ` Ada novice
2010-07-25 22:57     ` jonathan
2010-07-26 14:12       ` Ada novice
2010-07-25 23:40     ` jonathan
2010-07-26  8:02   ` Making measurements (Was: compiler settings in AdaGIDE) Jacob Sparre Andersen
2010-07-26  9:57     ` jonathan
2010-07-26 13:50       ` Jacob Sparre Andersen [this message]
2010-07-27 15:11   ` compiler settings in AdaGIDE Colin Paul Gloster
2010-08-01 16:39     ` Ada novice
replies disabled

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