cache misses in gcc 3.3
Andi Kleen
ak@muc.de
Mon Feb 10 18:16:00 GMT 2003
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
More information about the Gcc
mailing list