Simple benchmarks with gcc-3_0-branch

Brad Lucier lucier@math.purdue.edu
Thu Feb 15 11:15:00 GMT 2001


I've put up a small benchmark page at

http://www.math.purdue.edu/~lucier/bench.html

comparing compile times and run times for programs that have been
compiled from Scheme->C and then compiled with gcc-3_0-branch from a
few days ago.  It's somewhat depressing to see how little going from
-O1 to higher optimization levels buys you and how relatively often it
hurts you.

Brad Lucier

PS:  The recently reported PR optimization/2001 (see the benchmark line
for pi on the page given above) is a regression from 2.95.2, since the
compile time in 2.95.2 was 3.32 seconds, and is 195.64 seconds in
gcc-3_0-branch.



More information about the Gcc mailing list