0.0.1 • Published 11 years ago
propro v0.0.1
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
0.0.1
11 years ago