Install npm install simple-benchmark Example var SimpleBenchmark = require('simple-benchmark'); benchmark = new SimpleBenchmark({label: 'something'}); benchmark.prettyPrint() setTimeout(function(){ benchmark.prettyPrint(); }, 2000);