Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alopezsanchez/web-tooling-benchmark-generator

CLI tools to generate new benchmarks in v8/web-tooling-benchmark.
https://github.com/alopezsanchez/web-tooling-benchmark-generator

benchmark cli generator node nodejs tools v8 v8js

Last synced: 3 months ago
JSON representation

CLI tools to generate new benchmarks in v8/web-tooling-benchmark.

Awesome Lists containing this project

README

        

# Web tooling benchmark generator

[![npm version](https://badge.fury.io/js/web-tooling-benchmark-generator.svg)](https://badge.fury.io/js/web-tooling-benchmark-generator)
[![Build Status](https://travis-ci.org/alopezsanchez/web-tooling-benchmark-generator.svg?branch=master)](https://travis-ci.org/alopezsanchez/web-tooling-benchmark-generator)
[![Known Vulnerabilities](https://snyk.io/test/github/alopezsanchez/web-tooling-benchmark-generator/badge.svg?targetFile=package.json)](https://snyk.io/test/github/alopezsanchez/web-tooling-benchmark-generator?targetFile=package.json)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)

CLI tool to generate new benchmarks in the [v8/web-tooling-benchmark](https://github.com/v8/web-tooling-benchmark) repository.

This tool:

* Checks that the user is in the [v8/web-tooling-benchmark](https://github.com/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

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

## Usage

Inside your [v8/web-tooling-benchmark](https://github.com/v8/web-tooling-benchmark) clone:

```bash
$ wtb-generate
```

## Contributing

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

## License

MIT. See [License](LICENSE).