[comp.unix.xenix] Comparative Benchmarks - gcc vs. MSC

glenn@extro.ucc.su.oz.au (Glenn Geers) (03/29/90)

I have seen several requests for comparative benchmarks in the group gnu.gcc so
I ran some last night on my 386. Here they are:

Machine: 80386/20 no cache
OS: Xenix 2.3.2 with 2.2 DS

Used dhrystone 2.1 (C version)
(only final numbers, sorry)

MSC (2.2 DS standard compiler, aka cc)
Full optimization (-Ox -CSON)
6482.3 dhrystones/sec

gcc (as ported by steve@robobar.co.uk)
Full optimization (-O)
7260.4 dhrystones/sec

Code produced by gcc is also around 10% smaller so startup is faster for large
programs (e.g. CTeX).

	Hope someone finds this useful,
						Glenn

glenn@extro.ucc.su.oz.au