This is the mail archive of the
mailing list for the GCC project.
Re: gcc compile-time performance
- From: Geoff Keating <geoffk at geoffk dot org>
- To: dewar at gnat dot com (Robert Dewar)
- Cc: gcc at gcc dot gnu dot org
- Date: 19 May 2002 11:17:28 -0700
- Subject: Re: gcc compile-time performance
- References: <20020519104255.C87C8F28CC@nile.gnat.com>
email@example.com (Robert Dewar) writes:
> > There is room for some speedup in CPP (10-20%?), but not much IMO.
> But CPP cannot be taking up a significant amount of time??
In GCC 3.0.4, the #1 item in the profile was _cpp_lex_token at about
5% at -O0, even beating out find_reloads. That has now been fixed, so
we're back to find_reloads as the single routine that takes the most
time at -O0, at 8%; reload as a whole is taking 22% of the total time
for the testcase I was using, tree.c, and just the extra time in
reload accounts for a third of the difference between 2.95 and 3.1 at
- Geoffrey Keating <firstname.lastname@example.org> <email@example.com>