Benchmark test updates ahead of v0.12.0

This commit is contained in:
Lovell Fuller
2015-11-23 10:53:52 +00:00
parent e21277ceba
commit 607d157b76
3 changed files with 6 additions and 4 deletions

View File

@@ -1,5 +1,7 @@
'use strict';
process.env.UV_THREADPOOL_SIZE = 64;
var assert = require('assert');
var async = require('async');
@@ -15,7 +17,7 @@ var timer = setInterval(function() {
console.dir(sharp.counters());
}, 100);
async.mapSeries([1, 1, 2, 4, 8, 16, 32, 64, 128], function(parallelism, next) {
async.mapSeries([1, 1, 2, 4, 8, 16, 32, 64], function(parallelism, next) {
var start = new Date().getTime();
async.times(parallelism,
function(id, callback) {