This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc and compiling speed
- From: Theo de Raadt <deraadt at cvs dot openbsd dot org>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>, tech at openbsd dot org, Marc Espie <espie at quatramaran dot ens dot fr>, "gcc at gcc dot gnu dot org List" <gcc at gcc dot gnu dot org>
- Date: Sun, 29 Feb 2004 20:49:59 -0700
- Subject: Re: gcc and compiling speed
> Theo de Raadt <deraadt@cvs.openbsd.org> writes:
>
> >> Marc,
> >> Now I know you have been asked before every time you bring up on the
> >> GCC's mailing list about a set of preprocessed source for openbsd so
> >> that the speed of GCC will improve.
> >
> > How will this improve the speed of gcc?
>
> If Marc (or anyone) provides us with a test case for the performance
> regression - for instance, the set of files produced by running gcc -E
> over all of the openbsd kernel, which is what Andrew meant - then we
> can find out why the compiler is slower, and fix it.
>
> We do have our own test cases for compile time, and they have been
> being fixed (mostly by Jan Hubicka) but we don't know that this will
> help you.
How big is your mailbox?
I can compile the entire source tree for OpenBSD and mail you
gcc -E output for every file.
I can then do that on 4 architectures.
That might be a bit large for you. Or you can simply take pretty
much any source code off the net and do your own performance test
with:
/bin/time make
That is the performance test that matters. Does gcc3 compile
mozilla faster on any machine, than gcc2 did?