Fix memory test output

master
alex 2015-12-14 11:35:47 +00:00
parent 857fe1f401
commit ffb3eb1763
1 changed files with 3 additions and 3 deletions

View File

@ -5,8 +5,8 @@ module.exports = {
console.log('**' + title + '** .. run: ' + (i + 1) + '\n');
console.log('node delta | heap delta | event listener');
console.log('--- | --- | --- |');
console.log((after.nodes - initial.nodes) + '|' +
humanize.filesize(after.jsHeapSizeUsed - initial.jsHeapSizeUsed) + '|' +
(after.jsEventListeners - initial.jsEventListeners) + '\n');
console.log((after.counts.nodes - initial.counts.nodes) + '|' +
humanize.filesize(after.counts.jsHeapSizeUsed - initial.counts.jsHeapSizeUsed) + '|' +
(after.counts.jsEventListeners - initial.counts.jsEventListeners) + '\n');
}
};