Norwegian Pony Master

    @faustbrian/benchmarker

    0.1.2 • Public • Published

    Benchmarker

    A wrapper around Benchmark.js that provides sane defaults and formatting

    Installation

    $ yarn add @faustbrian/benchmarker --dev

    Testing

    $ yarn test

    Example

    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 hello@basecode.sh. All security vulnerabilities will be promptly addressed.

    Credits

    License

    MIT © Brian Faust

    Keywords

    none

    Install

    npm i @faustbrian/benchmarker

    DownloadsWeekly Downloads

    101

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    9.58 kB

    Total Files

    8

    Last publish

    Collaborators

    • faustbrian