Hubik-Plugin-Memory
v0.0.2
Published
The memory plugin of Hubik.
Downloads
1
Readme
#Hubik-Plugin-Memory
The memory plugin for Hubik.
##Requirement
- Mac OS X
- Nodejs >= 5.0.0
##Installation
npm install hubik-plugin-memory
##Usage
var Hubik = require("hubik");
var memory = require("hubik-plugin-memory");
var hubik = new Hubik();
hubik.install([memory]);
hubik
.suite(function($plugin){
$plugin.enable(memory.name); //Enable the memory plugin.
...
})
.run(function(report){
console.log(report)
});
###result
[
{
jsHeapSizeUsed: 23515496, //bytes
documents: 1, //count
nodes: 4863, //count
jsEventListeners: 60 //count
}
,...
]
##Example