0.0.1 • Published 10 years ago
raminfo v0.0.1
raminfo
Simple tool to dump memory info and log about it.
Dependencies
Install
npm install raminfo
API
var raminfo = require('raminfo');
raminfo.set({
// Used so we can do some benchmarks
gc: global.gc,
// Where to dump the memory information
dumpDir: __dirname + './raminfoDump',
// Log when dumping a file
logDumpFile: false
});
// Dump a memory info file
raminfo.dump();
// Log about memory infomation
raminfo.log();
// Get a JSON object containing readable memory information
raminfo.getInfo();
0.0.1
10 years ago