diff options
Diffstat (limited to 'platform/node/test/memory.test.js')
-rw-r--r-- | platform/node/test/memory.test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/node/test/memory.test.js b/platform/node/test/memory.test.js index ad54098832..e23cb60f89 100644 --- a/platform/node/test/memory.test.js +++ b/platform/node/test/memory.test.js @@ -27,7 +27,7 @@ var tile_raster = readFixture('raster.tile'); var tile_vector = readFixture('vector.tile'); test('Memory', function(t) { - // Trigger garbage collection before starting test, then initialize + // Trigger garbage collection before starting test, then initialize // heap size if (typeof gc === 'function') gc(); var lastHeapSize = process.memoryUsage()['heapUsed']; @@ -86,7 +86,7 @@ test('Memory', function(t) { if (renderCount % (testParams.numRenderings / 10) == 0) { // Manually trigger garbage collection if (typeof gc === 'function') gc(); - + var currentHeapSize = process.memoryUsage()['heapUsed']; // Print some progress, so slow build bots don't timeout. |