time-taken
Get the execution time of a function.
Install
$ npm install --save time-taken
Usage
var timeTaken = require('time-taken');
var meow = function() {
console.log("meow");
};
console.log( timeTaken(meow) );
//=> 3951.710999943316
API
timeTaken(func)
func
Required
Type: function
meow
Returns a Number
representing the time taken to execute the given function in miliseconds.
License
MIT © hemanth