From: utzoo!decvax!ucbvax!info-cpm Newsgroups: fa.info-cpm Title: BDS-C Benchmarks Article-I.D.: ucbvax.272 Posted: Wed Dec 8 00:39:56 1982 Received: Thu Dec 9 01:24:15 1982 >From chesley.tsca@Sri-Tsc Wed Dec 8 00:35:14 1982 To: INFO-CPM@Mit-Mc Via: Sri-Tsca; 7 Dec 82 11:35-PST Via: Mit-Mc; 7 Dec 82 15:01-EST Via: Brl; 7 Dec 82 15:20-EST Via: Brl-Bmd; 7 Dec 82 15:23-EST One thing to watch out for when doing BDS-C benchmarks is the huge difference between the code generated with no switches, and that generated with -o and -e (and making any variables that can be globals). (The person doing the Aztec benchmark didn't mention which way he did it.) I recently did a benchmark of BDS-C versus C/80, using the Byte prime number program. Without -o and -e, BDS-C took 41 seconds (this is timed from after the program loads to the next "A>" prompt (i.e., after the reboot), and thus may not compare to other numbers times from different points). With -o and -e, it took 17 seconds! C/80 took (if I remember correctly) 28 seconds. --Harry...