Skip to content

Commit

Permalink
Benchmark test updates ahead of v0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lovell committed Nov 23, 2015
1 parent e21277c commit 607d157
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"devDependencies": {
"async": "^1.5.0",
"coveralls": "^2.11.4",
"exif-reader": "1.0.0",
"exif-reader": "^1.0.0",
"icc": "^0.0.2",
"istanbul": "^0.4.0",
"mocha": "^2.3.4",
Expand Down
4 changes: 2 additions & 2 deletions test/bench/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"benchmark": "^1.0.0",
"gm": "^1.21.0",
"imagemagick": "^0.1.3",
"imagemagick-native": "^1.8.0",
"imagemagick-native": "elad/node-imagemagick-native",
"jimp": "^0.2.19",
"lwip": "^0.0.8",
"semver": "^5.0.3"
"semver": "^5.1.0"
},
"license": "Apache-2.0",
"engines": {
Expand Down
4 changes: 3 additions & 1 deletion test/bench/parallel.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
'use strict';

process.env.UV_THREADPOOL_SIZE = 64;

var assert = require('assert');
var async = require('async');

Expand All @@ -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) {
Expand Down

0 comments on commit 607d157

Please sign in to comment.