mirror of
https://github.com/lovell/sharp.git
synced 2025-07-11 19:40:14 +02:00
Benchmark test updates ahead of v0.12.0
This commit is contained in:
parent
e21277ceba
commit
607d157b76
@ -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",
|
||||
|
@ -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": {
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user