functiontime

1.0.1 • Public • Published

Step 1: Install the module as dev dependency.

npm install functiontime --save-dev

Step 2: Require the module.

const functiontime = require("functiontime");

Step 3: Use the module.

function printNo(){
    for(let i = 0 ; i < 10000; i++){
        //logic
    }
}

functiontime(printNo);

//output printNo time: 36.413ms

/functiontime/

    Package Sidebar

    Install

    npm i functiontime

    Weekly Downloads

    1

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    1.63 kB

    Total Files

    4

    Last publish

    Collaborators

    • arpitansu