Comparing speeds of 1.2 and 2.0!
- To: mathgroup at yoda.physics.unc.edu
- Subject: Comparing speeds of 1.2 and 2.0!
- From: "Mr. Mathematica Man" <LWRIGHT at hmcvax.claremont.edu>
- Date: Sat, 21 Sep 1991 23:46 PDT
I performed the following tests comparing version 1.2 and version 2.0 of Mathematica after Barry Merriman's recent post to the newsgroup. I performed on two different machines and for different numbers of multiplications. In all cases, version 2.0 was faster for me. It is possible that there is something special with the NeXT and its new operating system. Problem: Timing[Block[{x=1.00001,y=1.0000},Do[y *= x, {n}];y]] Results Machine - Macintosh IIcx n 1.2f33 (s) 2.0 (s) 1000 5.16667 4.68333 10000 51.2833 41.2667 100000 524.067 435.65 Machine - DECstation 3100 running ULTRIX n 1.2 (s) 2.0beta3 (s) 1000 .85 .7 10000 8.43333 .708333 100000 84.3333 70.45 Lyle Wright Mathematica Consultant Harvey Mudd College Claremont, CA 91711 lwright at hmcvax.claremont.edu