[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Serious performane degradation in bison (1.35 -> 1.75)

From: Tim Van Holder
Subject: Serious performane degradation in bison (1.35 -> 1.75)
Date: 12 Nov 2002 11:59:31 +0100

I was looking into updating our build environment to
bison 1.75 (and possibly trying out the GLR parser).
Besides the annoyance that bison will not run if not
installed (can't find m4sugar otherwise), I ran into

address@hidden /home/tim/gnu/bison-cvs/src>time ./bison
~/xtools/src/coco/cobol.y -o tmp/cobol-grammar.c -d -g

real    0m11.567s
user    0m10.600s
sys     0m0.391s
address@hidden /home/tim/gnu/bison-cvs/src>time bison
~/xtools/src/coco/cobol.y -o tmp/cobol-grammar.c -d -g

real    0m0.627s
user    0m0.381s
sys     0m0.064s

I fear this is to blame on the m4 integration; given that
this is a HUGE performance loss (2000% slower!!!), this
should probably be addressed somehow.  Just try to avoid
bison4te.cache directories :-)

Tim Van Holder <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]