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