@kodekeep/benchmarker
v1.0.0
Published
A wrapper around Benchmark.js that provides sane defaults and formatting
Downloads
10
Readme
Benchmarker
A wrapper around Benchmark.js that provides sane defaults and formatting
Installation
$ yarn add @kodekeep/benchmarker --dev
Usage
import { benchmarker } from "@kodekeep/benchmarker";
benchmarker("utils", [
{
name: "map",
scenarios: require("./map"),
},
{
name: "filter",
scenarios: require("./filter"),
},
{
name: "reduce",
scenarios: require("./reduce"),
},
]);
Testing
$ yarn test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover a security vulnerability within this package, please send an e-mail to [email protected]. All security vulnerabilities will be promptly addressed.
Credits
This project exists thanks to all the people who contribute.
License
Mozilla Public License Version 2.0 (MPL-2.0). Please see License File for more information.