duration-time

A wrapper for process.hrtime

duration-time

A wrapper for process.hrtime


$ npm install duration-time -g
var duration = require('duration-time');
duration.start('a');
doSomeAsync(function() {
  duration.end('a'); // return time between intervals
})

Copyright (c) 2014 popomore. Licensed under the MIT license.