benchmark-suite
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -205,7 +205,7 @@ // var heapdump = require('heapdump'); | ||
name: _this.name, | ||
stats: (0, _statsaccumulator.default)() | ||
stats: new _statsaccumulator.default() | ||
}, | ||
delta: { | ||
name: _this.name, | ||
stats: (0, _statsaccumulator.default)() | ||
stats: new _statsaccumulator.default() | ||
} | ||
@@ -251,3 +251,3 @@ }; | ||
dumped = false; | ||
stats = (0, _statsaccumulator.default)(); | ||
stats = new _statsaccumulator.default(); | ||
_state.label = 1; | ||
@@ -283,3 +283,3 @@ case 1: | ||
delta = process.memoryUsage().heapUsed - start; | ||
if (delta < 0) stats = (0, _statsaccumulator.default)(); | ||
if (delta < 0) stats = new _statsaccumulator.default(); | ||
else stats.update(delta); | ||
@@ -310,3 +310,3 @@ return [ | ||
now = Date.now(); | ||
stats = (0, _statsaccumulator.default)(); | ||
stats = new _statsaccumulator.default(); | ||
_this.n++; | ||
@@ -313,0 +313,0 @@ dumped = false; |
@@ -189,3 +189,3 @@ "use strict"; | ||
name: _this.name, | ||
stats: (0, _statsaccumulator.default)() | ||
stats: new _statsaccumulator.default() | ||
} | ||
@@ -192,0 +192,0 @@ }; |
{ | ||
"name": "benchmark-suite", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "A simple suite of benchmarking tests", | ||
@@ -51,3 +51,3 @@ "keywords": [ | ||
"pretty-bytes": "^5.6.0", | ||
"stats-accumulator": "^1.1.3" | ||
"stats-accumulator": "^1.2.0" | ||
}, | ||
@@ -59,3 +59,3 @@ "devDependencies": { | ||
"depcheck": "^1.4.7", | ||
"ts-dev-stack": "^0.14.4" | ||
"ts-dev-stack": "^0.14.6" | ||
}, | ||
@@ -62,0 +62,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
73759
0
Updatedstats-accumulator@^1.2.0