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