Update benchmark test dependencies

This commit is contained in:
Lovell Fuller
2018-01-02 20:19:11 +00:00
parent 358b8fe8b6
commit 9bd2cec199
3 changed files with 8 additions and 7 deletions

View File

@@ -31,6 +31,7 @@ async.mapSeries([1, 1, 2, 4, 8, 16, 32, 64], function (parallelism, next) {
function (err, ids) {
assert(!err);
assert(ids.length === parallelism);
ids.sort();
const mean = ids.reduce(function (a, b) {
return a + b;
}) / ids.length;