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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b49d3a703a4b4db5 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!goblin3!goblin.stu.neva.ru!gegeweb.org!news.ecp.fr!news.jacob-sparre.dk!pnx.dk!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: Making measurements Date: Mon, 26 Jul 2010 15:50:12 +0200 Organization: Jacob Sparre Andersen Message-ID: <87k4oitkrv.fsf@hugsarin.sparre-andersen.dk> References: <87vd82u0vn.fsf_-_@hugsarin.sparre-andersen.dk> NNTP-Posting-Host: 77.241.140.107.bredband.3.dk Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: munin.nbi.dk 1280152213 11917 77.241.140.107 (26 Jul 2010 13:50:13 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Mon, 26 Jul 2010 13:50:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:PnA7O6oR7ltt+u+0CMW2pSC81es= Xref: g2news1.google.com comp.lang.ada:12575 Date: 2010-07-26T15:50:12+02:00 List-Id: Jonathan 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/