This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc compile-time performance
- From: "David S. Miller" <davem at redhat dot com>
- To: dewar at gnat dot com
- Cc: gdr at codesourcery dot com, drow at mvista dot com, gcc at gcc dot gnu dot org, law at redhat dot com, mark at codesourcery dot com, scott at coyotegulch dot com
- Date: Sun, 19 May 2002 04:52:28 -0700 (PDT)
- Subject: Re: gcc compile-time performance
- References: <20020519114924.8630FF28CC@nile.gnat.com>
From: dewar@gnat.com (Robert Dewar)
Date: Sun, 19 May 2002 07:49:24 -0400 (EDT)
What we are comparing here (Solaris vs Redhat Linux) is doing a full bootstrap
of C and Ada, and this seems to take reasonably comparable times on the
two machines (the Sun is slower by a factor of 2-3, but it is also a slower
machine by this factor).
What about "make check", do you see the same matching ratio?
I really doubt you will.... the Linux box should nuke the Solaris
one in terms of how long it takes to run "make check" even just
for the C language.
Linux also nukes Solaris in terms of how long it takes to build
libjava, but that is mostly a bug in the java compiler which Mark is
fixing (during compilation the java compiler calls stat() on the same
file a couple thounsand times, something like this).
But, again, "make check" is the real killer under Solaris.