• Home
Name Date Size #Lines LOC

..--

Makefile.amD03-May-2024733 171

Makefile.inD03-May-202452 KiB1,5271,450

READMED03-May-20241.4 KiB3928

bench.pl.inD03-May-202416.9 KiB384290

README

1* bench.pl
2A primitive Perl script to run benches.  Currently its only bench is
3the usual calculator: it has a lightweight processing part (but not
4null), so it is really emphasizing the cost of the whole parsing
5(including scanning and I/O).
6
7Set the envvars BISON and CC to the programs and flags you want to
8use.  They default to bison and gcc.  To run a non-installed bison
9from a tarball built in _build, I suggest the following.
10
11     BISON=_build/tests/bison CC='gcc -O2' ./bench.pl
12
13(The _build/tests/bison wrapper makes sure that _build/src/bison will
14use the tarballs' skeletons, not those already installed as a
15straightforward use of _build/src/bison would.)
16
17--
18
19Copyright (C) 2006, 2009-2012 Free Software Foundation, Inc.
20
21This file is part of Bison, the GNU Compiler Compiler.
22
23This program is free software: you can redistribute it and/or modify
24it under the terms of the GNU General Public License as published by
25the Free Software Foundation, either version 3 of the License, or
26(at your option) any later version.
27
28This program is distributed in the hope that it will be useful,
29but WITHOUT ANY WARRANTY; without even the implied warranty of
30MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
31GNU General Public License for more details.
32
33You should have received a copy of the GNU General Public License
34along with this program.  If not, see <http://www.gnu.org/licenses/>.
35
36Local Variables:
37mode: outline
38End:
39