This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc compile-time performance
On Sat, May 18, 2002 at 09:24:25PM -0700, David S. Miller wrote:
> From: Marc Espie <espie@quatramaran.ens.fr>
> Date: Sat, 18 May 2002 13:46:43 +0200
>
> In case you have missed this, I pitted gcc 2.95.3 -O2 against gcc 3.1 -O1,
> to see which one was fastest. On the same source. Something big enough to
> be relevant: a BSD kernel.
>
> gcc 2.95.3 wins hands down, by about 20%.
>
> Hey Marc, could you run your tests with this patch applied
> to gcc-3.1? It should kill ~10% or more of the compile time
> overhead when optimizations are enabled.
Not significant on x86... not more than 2 seconds difference, out of
several minutes, both in -O2 and -O1 mode.
:(