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]
Other format: [Raw text]

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?


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