Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site pertec.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!crsp!pesnta!pertec!bytebug From: bytebug@pertec.UUCP (roger long) Newsgroups: net.micro.mac Subject: Re: Harmonic Series Benchmark Message-ID: <340@pertec.UUCP> Date: Tue, 25-Jun-85 19:09:05 EDT Article-I.D.: pertec.340 Posted: Tue Jun 25 19:09:05 1985 Date-Received: Thu, 27-Jun-85 04:49:27 EDT References: <1353@amd.UUCP> <385@gumby.UUCP> <1461@amdcad.UUCP> Organization: Pertec Computer Corp., Irvine, CA Lines: 23 I don't know what is taking the Mac so long! Our system, running at 10MHz with wait states due to memory management, ran the following code in 10.6 seconds. main() { register i; double j; for (i=10000; i>0; i--) j += (1.0 / i); printf("result = %9.6f\n", j); } The result I got was 9.787606. A 68020 running at 12.5MHZ with a 16-bit memory bus ran it in 6.3 seconds. A 68020 running at 16.667MHz with 32-bit memory bus ran it in 2.8 seconds. -- roger long pertec computer corp {ucbvax!unisoft | scgvaxd | trwrb | felix}!pertec!bytebug