This is the Peggy benchmark suite. It measures speed of the parsers generated by Peggy on various inputs. Its main goal is to provide data for code generator optimizations.
All commands in the following steps need to be executed in Peggy root directory (one level up from this one).
-
Install all Peggy dependencies, including development ones:
$ npm install
-
Execute the benchmark suite:
$ npm run benchmark
-
Wait for results.
All commands in the following steps need to be executed in Peggy root directory (one level up from this one).
-
Make sure you have Node.js installed.
-
Install all Peggy dependencies, including development ones:
$ npm install
-
Serve the benchmark suite using a web server:
$ benchmark/server
-
Point your browser to the benchmark suite.
-
Click the Run button and wait for results.