C compile time
Andrew Pinski
pinskia@physics.uc.edu
Wed Jun 18 03:38:00 GMT 2003
Dara,
For some reason (University of Cincinnati's network sucks), I cannot
reply to the original message,
I also have to use list archives, :(.
Can you see how my patch in 10962 will help compile time (mostly it
will help at -O0 but it could
help other places) on the mainline?
I have several patches which I will be submitting (after I get my
copyright forms submitted, still
waiting for them to arrive), most of them removes invariant loads in
loops (Shikari [shameless plug]
from the CHUD tools on Mac OS X are good to find these) and some which
will cause sib calling to
happen more in some places.
Also did you compile the mainline and 3.5-tree-ssa with
--disable-checking because it looks like you
did not from looking at the numbers?
Also for the mainline (and maybe 3.5-tree-ssa) could you run with
-ftime-report, yes I know this will
report a lot of information but you could use a spread-sheet to look at
the data and maybe give an idea
of where the problem is?
Thanks,
Andrew Pinski
> 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
More information about the Gcc
mailing list