From: utzoo!decvax!harpo!seismo!hao!hplabs!sri-unix!STERNLIGHT@usc-ecl.arpa Newsgroups: net.micro Title: Lisa benchmark Article-I.D.: sri-arpa.374 Posted: Sat Feb 5 08:51:00 1983 Received: Mon Feb 7 02:07:18 1983 Berry Kercheval's simple benchmark is said to run in 56.7 seconds on an unloaded lisa, and over 4 minutes on an IBM system one. I find this incredible, since I just compiled it with BDS/C and ran it on my TRS-80 Mod II running a 4mHz Z-80 and it took less than 4 seconds to run. The run time was increased only slightly when I added one, two, and three zeroes to the index counted through. It's gotta be either an error or some silliness in the way the C compilers react to that code in the lisa and System one. If you missed his message, the code is: main() { register int i = 10000000; while (i--); } The BDS version needs register int i as a separate statement, and runs in the same time whether you define i as a register int or just an int. --david -------