This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
C compile time
- From: Dara Hazeghi <dhazeghi at yahoo dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 17 Jun 2003 16:07:54 -0700 (PDT)
- Subject: C compile time
Hello,
after Wolfgang's post about C++ compile times, my
curiosity was piqued to check how C compile times have
been going. I used compiling gcc 3.2.3's cc1 as the
test.
Hopefully this table gives some sense of where thing
are at.
gcc version -O0 -O1 -O2 -O3
2.7.2.3 128.04 131.02 163.51 176.01
2.8.1 128.86 140.79 182.35 194.63
2.90.29 130.60 140.57 186.29 199.32
2.91.66 132.44 148.48 203.71 219.21
2.95.3 143.38 180.97 250.94 276.85
3.0.4 169.79 210.73 320.24 365.15
3.2.3 193.48 269.43 424.74 519.85
3.3 184.15 282.57 442.64 529.93
3.3-branch 184.15 283.89 443.66 535.10
3.4-mainline 203.58 326.35 514.49 783.59
3.5-tree-ssa 223.33 327.91 503.58 702.11
icc* version -O0 -O1* -O2 -O3*
5.01* 158.47 ~ 293.47 293.11
6.0 142.81 ~ 227.25 227.88
7.1 153.95 ~ 243.35 243.78
*icc is Intel's C++ Compiler for Linux (unsupported
noncommerical version)
*icc sets -O1 and -O2 to be the same
*icc claims -O2 and -O3 are different, but I'm not
sure how, as compile time indicates
*icc 5.0 would not compile df.c, so df.c was compiled
with gcc for this test
Test conducted was compiling cc1 from gcc 3.2.3 on
i686-pc-linux-gnu with different versions of gcc. cvs
snapshots for 3.3-branch, 3.4-mainline and
3.5-tree-ssa were from 20030614.
Cheers,
Dara
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com