summaryrefslogtreecommitdiff
path: root/perf/memory.js
diff options
context:
space:
mode:
Diffstat (limited to 'perf/memory.js')
-rw-r--r--perf/memory.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/perf/memory.js b/perf/memory.js
index 1a022af..1edab20 100644
--- a/perf/memory.js
+++ b/perf/memory.js
@@ -24,9 +24,9 @@ function waterfallTest(cb) {
function func3(cb) {return cb(); }
async.waterfall([
- func1,
- func2,
- func3
+ func1,
+ func2,
+ func3
], next);
});
}
@@ -38,7 +38,7 @@ function reportMemory() {
global.gc();
var increase = process.memoryUsage().heapUsed - startMem;
console.log("memory increase: " +
- (+(increase / 1024).toPrecision(3)) + "kB");
+ (+(increase / 1024).toPrecision(3)) + "kB");
}
waterfallTest(function () {