This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: cache misses in gcc 3.3
- From: Andi Kleen <ak at muc dot de>
- To: Robert Dewar <dewar at gnat dot com>
- Cc: ak at muc dot de, geoffk at geoffk dot org, gcc at gcc dot gnu dot org, mszick at goquest dot com
- Date: Mon, 10 Feb 2003 19:16:04 +0100
- Subject: Re: cache misses in gcc 3.3
- References: <20030210181143.22055F2CAF@nile.gnat.com>
On Mon, Feb 10, 2003 at 07:11:43PM +0100, Robert Dewar wrote:
> > You should be aware that last time I looked, "parser" really meant
> > "all the time that wasn't allocated to some other part of the compiler".
>
> In particular, I am pretty sure parser includes lexical analysis. In
> my experience when writing fast compilers, lexical analysis can consume
> far more time than parsing proper.
Nope, lexical analysis is an extra line:
preprocessing : 0.08 ( 2%) usr 0.02 (15%) sys 0.11 ( 2%) wall
lexical analysis : 0.05 ( 1%) usr 0.04 (31%) sys 0.09 ( 2%) wall
parser : 0.52 (12%) usr 0.02 (15%) sys 0.61 (12%) wall
-Andi