CLI tool to generate new benchmarks in the v8/web-tooling-benchmark repository.
This tool:
- Checks that the user is in the v8/web-tooling-benchmark repository.
- Checks if the new library already has a benchmark.
- Installs the new library with
npm i --save-exact
. - Generates the benchmark and benchmark test files with the naming convention.
- Creates a new section in the documentation file.
- Updates the target list (list of runnable benchmarks).
$ npm i -g web-tooling-benchmark-generator
Inside your v8/web-tooling-benchmark clone:
$ wtb-generate
Any contribution is welcomed. Please, submit a Pull Request!
MIT. See License.