This is the mail archive of the
mailing list for the GCC project.
Re: some interesting timing statistics
- To: Zack Weinberg <zack at bitmover dot com>
- Subject: Re: some interesting timing statistics
- From: Bernd Schmidt <bernds at cygnus dot co dot uk>
- Date: Tue, 16 Nov 1999 09:27:16 +0000 (GMT)
- cc: gcc at gcc dot gnu dot org
> I have a source file which demonstrates pretty nicely how much slower
> the compiler's gotten since 2.7.x. It is 12583 lines long, with 286
> functions. On x86:
One thing to take into account in comparisons like this: were both compilers
compiled with the same optimization flags?
> I'm surprised -O2 slows down the parser, of all things, compared to
> -Os. A hefty chunk of the performance loss comes from there.
That could be because all the time not accounted for otherwise is counted
against the parser. Most likely it's a simple accounting error.