checkduration
v1.0.1
Published
To check function execution time duration
Downloads
3
Maintainers
Readme
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]
)