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++ performance




On Tue, 3 Jul 2001, Burkhard Militzer wrote:
> (Pentium 4 1.7Ghz)     g++ -O3 (2.95-2 ***  )  8.62 sec.
> (Pentium 4 1.7Ghz)     g++ -O3 (2.95-3)       10.94 sec.
> (Pentium 4 1.7Ghz)     g++ -O3 (3.01)         15.09 sec.

Did you happen to try any other compiler options, e.g. -O, -O2?

With 3.0, -O3 is probably not ideal... it may inline too much.

Jeff


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