This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cache misses in gcc 3.3


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]