AT&T 3B2 system - (nf)
ken perlow
ken at ihuxq.UUCP
Wed Nov 28 10:35:50 AEST 1984
--
>> ...The same program was
>> run on a MacIntosh. The result was that the 3B2 took about
>> 1.3 times the time it took the Mac. Note that this is only
>> a cpu speed test and not really a benchmark.
>> main()
>> {
>> register int i, j;
>> for (i = 0; i < 1000; i++)
>> for (j = 0; j < 1000; j++) ;
>> }
>> Perry
Beware the spurious benchmark, my son! When you run null loops,
what you're testing is the hardware implementation of loop-related
instructions. To know whether you've really tested cpu speed
you'll have to look at the assembly code generated by each compiler
to see what is actually running on each machine. Efficient looping
instructions are a good thing, of course, so the test is not worthless.
--
*** ***
JE MAINTIENDRAI ***** *****
****** ****** 27 Nov 84 [7 Frimaire An CXCIII]
ken perlow ***** *****
(312)979-7188 ** ** ** **
..ihnp4!iwsl8!ken *** ***
More information about the Comp.unix.wizards
mailing list