Skip to content

alopezsanchez/web-tooling-benchmark-generator

Repository files navigation

Web tooling benchmark generator

npm version Build Status Known Vulnerabilities code style: prettier

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).

Demo

Demo

Installation

$ npm i -g web-tooling-benchmark-generator

Usage

Inside your v8/web-tooling-benchmark clone:

$ wtb-generate

Contributing

Any contribution is welcomed. Please, submit a Pull Request!

License

MIT. See License.