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