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