MathGroup Archive 1994

[Date Index] [Thread Index] [Author Index]

Search the Archive

Alternative to Timing[10000!] benchmark

  • To: mathgroup at
  • Subject: Alternative to Timing[10000!] benchmark
  • From: Paul E Howland <PEHOWLAND%CCF.dnet at>
  • Date: Fri, 01 Jul 1994 16:14:44 GMT

Instead of the rather dodgy "Timing[10000!]" benchmark for performance,
the following seems a better way of measuring the elapsed time taken to do a
calculation (as Timing[] supposedly measures CPU time):
 In[1]:= start=AbsoluteTime[]; Print[Short[10000!]]; AbsoluteTime[]-start

For the Windows 387 Version 2.2 running on a Compaq Despro 433i PC, I get the
 Out[1]= 137

And on the DEC Alpha OSF/1 Version 2.2 version, running on a DEC 3000 Model
400, I get
 Out[1]= 13.59984

The "Short[10000!]" means that the timing isn't affected by the time taken
to print 36000 digits to your VDU.

What results to Mathgroupers get with this on their machines?

Paul E Howland                         

Long Range Radar Sensors Section                         tel. + 44 684 895767
CSS2 Division, Room BY209                                fax. + 44 684 896315
Defence Research Agency                           email: PEHOWLAND at DRA.HMG.GB 
Malvern, Worcs, WR14 3PS, UK.                      

  • Prev by Date: Re: formatted data
  • Next by Date: Re: Power Macs
  • Previous by thread: Re: formatted data
  • Next by thread: Re: Alternative to Timing[10000!] benchmark