This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: C++ compile-time regressions (was: GCC 3.0.1 Status Report)


On Fri, 20 Jul 2001, Nathan Sidwell wrote:
>>                    GCC 2.95                         GCC 3.0
>>           Compile time    Binary size      Compile time   Binary Size
>>   -O0             6:19    3915128                  8:20   4159780
>>   -O1             4:20    4203480                 11:40   4829732
>>   -O2             5:56    4209368                 14:09   4862532
>>   -O3             5:47    4221464                 32:04   6166052
> Do you have the .ii file sizes to compare? Is there a correlation with
> compile time?

Not that strongly, I'd say:

  % wc -l 2.95/* | grep total
  472019 total
  % wc -l 3.0/* | grep total
  575530 total

That is, the 17 preprocessed source files become larger, but not that
much (compared to compile time).

Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]