Update benchmark test dependencies

This commit is contained in:
Lovell Fuller
2016-01-28 12:15:41 +00:00
parent b3d6e94984
commit 41e50770d1
3 changed files with 8 additions and 8 deletions

View File

@@ -70,7 +70,7 @@ new Benchmark.Suite('random').add('imagemagick', {
}).on('cycle', function(event) {
console.log(String(event.target));
}).on('complete', function() {
var winner = this.filter('fastest').pluck('name');
var winner = this.filter('fastest').map('name');
assert.strictEqual('sharp', String(winner), 'sharp was slower than ' + winner);
console.dir(sharp.cache());
}).run();