Node.js implementation of Stack Exchange's MiniProfiler
Currently requires express and connect to run, because it uses res.on('header', f)
to trigger storing of data, which is a connect thing.
Clone this repo into your project's node_modules directory. You can also install from npm, but the package may be outdated: https://www.npmjs.org/package/miniprofiler.
Then see connect_test.js for example use.
Things that need doing:
- remove dependency from express and connect
- storing of client timings on first result postback (there's a todo in the
results
function about where to do this) - document more things