This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
interesting anecdote on gcc speed
- From: Joe Buck <Joe dot Buck at synopsys dot COM>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 3 Nov 2005 09:43:18 -0800
- Subject: interesting anecdote on gcc speed
Many of us worry about the compiler getting slower over time, so I
was pleased to see a bit of good news from Planet Debian.
Norbert Tretkowski reports on his blog at
http://www.inittab.de/blog/2005/11/03#20051103_gcc33vs40 :
> Comparing gcc 3.3 and 4.0
> Kernel 2.6.14 builds fine with gcc 4.0 on alpha, so I switched the build
system of the Debian linux-2.6 package from gcc 3.3 to gcc 4.0 on
alpha. And it seemed that gcc 4.0 is much faster when building the
kernel. I started two new builds using time(1), one with gcc 3.3 and one
with gcc 4.0.
> Using gcc 3.3.6: 56692.17s user 2784.40s system 97% cpu 16:54:01.65 total
> Using gcc 4.0.2: 39189.33s user 2417.85s system 96% cpu 11:57:52.48 total
> 5 hours less... and the kernel still works fine.