propro

Profile tool

npm install propro
2 downloads in the last week
4 downloads in the last month

way to use

profile = require('propro')('API')

async.waterfall [
  profile "first test", (callback) -> 
    setTimeout ->
      callback()
    , 100

  profile "second test", (callback) -> 
    setTimeout ->
      callback()
    , 100
]

run with PROFILE=API node app.js

to set threshold run with PROFILE=API.100 node app.js - sets threshold for API profile = 100ms

npm loves you