diff --git a/package.json b/package.json index 54bc531..122f32f 100755 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Connection Pool for tedious.", "main": "lib/connection-pool.js", "scripts": { - "test": "node_modules/.bin/mocha test/test.js" + "test": "node_modules/.bin/mocha --expose-gc test/test.js" }, "repository": { "type": "git", diff --git a/test/test.js b/test/test.js index 8730c9e..0be46f5 100644 --- a/test/test.js +++ b/test/test.js @@ -404,8 +404,7 @@ describe('Load Test', function() { var heapUsedKB = Math.round(process.memoryUsage().heapUsed / 1024); mem.push([count, heapUsedKB]); - - console.log(count + ': ' + heapUsedKB + 'KB'); + // console.log(count + ': ' + heapUsedKB + 'KB'); if (count === max) { var data = statistics.linearRegression(mem); @@ -477,8 +476,7 @@ describe('Load Test', function() { } else { var heapUsedKB = Math.round(process.memoryUsage().heapUsed / 1024); mem.push([count, heapUsedKB]); - - console.log(count + ': ' + heapUsedKB + 'KB'); + // console.log(count + ': ' + heapUsedKB + 'KB'); } } });