@faustbrian/benchmarker
v0.1.2
Published
A wrapper around Benchmark.js that provides sane defaults and formatting
Downloads
1,644
Readme
Benchmarker
A wrapper around Benchmark.js that provides sane defaults and formatting
Installation
$ yarn add @faustbrian/benchmarker --devTesting
$ yarn testExample
import { benchmarker } from "@faustbrian/benchmarker";
benchmarker("utils", [
{
name: "map",
scenarios: require("./map"),
},
{
name: "filter",
scenarios: require("./filter"),
},
{
name: "reduce",
scenarios: require("./reduce"),
},
]);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.
