1.0.1 • Published 3 years ago

checkduration v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

CheckDuration

Get the time taken to execute the provided function

Installation

# using npm
npm install checkDuration

Usage

# using require
const { performancecheck } = require('checkDuration');

# using import
import { performancecheck } from 'checkDuration';

Example

    performancecheck( (a:number, b: number) => {
            return a*b;
        }, [5,100000]
    )