[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: push parser implemenation
From: |
Bob Rossi |
Subject: |
Re: push parser implemenation |
Date: |
Fri, 7 Apr 2006 12:13:51 -0400 |
User-agent: |
Mutt/1.5.9i |
On Fri, Apr 07, 2006 at 12:06:54PM -0400, Bob Rossi wrote:
> > >Is there an easy script I can run on my Linux/AMD machine to generate
> > >these results?
> >
> > Yes, the script I had attached. Here it is with the chidren stuff
> > fixed.
>
> OK, I have the script, and I have bison installed in
> /home/bob/cvs/bison/bench/target.
Hmmm, let me clarify. I did
'export BISON=/home/bob/cvs/bison/bench/target/bin/bison'
was that a good idea?
It seems as if,
PATH=/home/bob/cvs/bison/bench/target/bin:$PATH perl bench.pl
is running the script, will this give me the results you want?
Finally, after doing these things in this order:
- a fresh cvs co
- apply patch
- ./bootstrap
- ./configure
- make
I get a compile error. I had to manually do,
cd src/
/usr/bin/bison parse-gram.y
mv parse-gram.tab.c parse-gram.c
mv parse-gram.tab.h parse-gram.h
and then do a make again. Is this OK?
Here are the results with a normal ./configure. I'm curious to see why
this slows down so much. Maybe I should run gprof.
Thanks,
Bob Rossi
Benchmark: timing 50 iterations of push-pure, push-push, push-yacc, yacc-pure,
yacc-yacc...
push-pure: 24 wallclock secs (22.90 cusr + 0.30 csys = 23.20 CPU) @ 2.16/s
(n=50)
push-push: 26 wallclock secs (25.16 cusr + 0.30 csys = 25.46 CPU) @ 1.96/s
(n=50)
push-yacc: 22 wallclock secs (22.21 cusr + 0.28 csys = 22.49 CPU) @ 2.22/s
(n=50)
yacc-pure: 18 wallclock secs (17.68 cusr + 0.30 csys = 17.98 CPU) @ 2.78/s
(n=50)
yacc-yacc: 18 wallclock secs (17.36 cusr + 0.30 csys = 17.66 CPU) @ 2.83/s
(n=50)
Rate push-push push-pure push-yacc yacc-pure yacc-yacc
push-push 1.96/s -- -9% -12% -29% -31%
push-pure 2.16/s 10% -- -3% -22% -24%
push-yacc 2.22/s 13% 3% -- -20% -21%
yacc-pure 2.78/s 42% 29% 25% -- -2%
yacc-yacc 2.83/s 44% 31% 27% 2% --
You have mail in /var/mail/bob
- Re: push parser implemenation, (continued)
- Re: push parser implemenation, Bob Rossi, 2006/04/05
- Re: push parser implemenation, Frans Englich, 2006/04/05
- Re: push parser implemenation, Bob Rossi, 2006/04/05
- Re: push parser implemenation, Frans Englich, 2006/04/05
- Re: push parser implemenation, Bob Rossi, 2006/04/05
Re: push parser implemenation, Akim Demaille, 2006/04/07
Re: push parser implemenation, Bob Rossi, 2006/04/07
Re: push parser implemenation, Bob Rossi, 2006/04/07
Re: push parser implemenation, Bob Rossi, 2006/04/08