@konceiver/benchmarker
v1.0.0
Published
A wrapper around Benchmark.js that provides sane defaults and formatting
Downloads
7
Readme
@konceiver/benchmarker
This package was created by, and is maintained by Brian Faust, and provides a wrapper around Benchmark.js with sane defaults and formatting.
Installation
yarn add @konceiver/benchmarker --dev
Usage
import { benchmarker } from "@konceiver/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.
Support Us
We invest a lot of resources into creating and maintaining our packages. You can support us and the development through GitHub Sponsors.
License
Benchmarker is an open-sourced software licensed under the MIT.