kzykhys/Markbench — pull request #4 by hkdobrev (2014-02-11 23:01:10+00:00)
Title: Introduce --parser option for a single benchmark

- Installing the parsers is optional. It is now in the `require-dev` directive.
- Checking the requirements for a driver would not throw an exception.
It is now OK to have a missing parser class.
Also the `checkRequirements()` method was never used until now.
- Only valid drivers (fulfilling the requirements) enter the benchmark.
- Introducing a new `--parser` option to limit the benchmark to a single parser.

The default behavior is left intact.

This allows the benchmarking tool to be run not only on its own, but also
as part of the CI cycle of the parsers themselves.

For example the Ciconia parser could have something like this in its Travis file:

composer require kzykhys/markbench:*
vendor/bin/markbench benchmark

---

Resolve #3.