This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ performance
- To: Burkhard Militzer <militzer at llnl dot gov>
- Subject: Re: C++ performance
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Tue, 3 Jul 2001 21:08:27 -0400 (EDT)
- cc: gcc at gcc dot gnu dot org
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