Comparing version 0.0.8 to 0.0.9
{ | ||
"name": "sharp", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"author": "Lovell Fuller", | ||
@@ -5,0 +5,0 @@ "description": "High performance module to resize JPEG and PNG images using the libvips image processing library", |
@@ -16,3 +16,3 @@ # sharp | ||
Performance is 4x-8x faster than ImageMagick and 2x-4x faster than GraphicsMagick, based mainly on the number of CPU cores available. | ||
Performance is 12x-15x faster than ImageMagick and 4x-6x faster than GraphicsMagick, based mainly on the number of CPU cores available. | ||
@@ -138,4 +138,4 @@ ## Prerequisites | ||
* epeg x 28.07 ops/sec ±0.07% (70 runs sampled) | ||
* sharp-file x 31.60 ops/sec ±8.80% (80 runs sampled) | ||
* sharp-buffer x 34.04 ops/sec ±0.36% (82 runs sampled) | ||
* sharp-file x 72.01 ops/sec ±7.19% (74 runs sampled) | ||
* sharp-buffer x 75.73 ops/sec ±0.44% (75 runs sampled) | ||
@@ -146,4 +146,4 @@ #### PNG | ||
* gm x 21.65 ops/sec ±0.18% (56 runs sampled) | ||
* sharp-file x 39.47 ops/sec ±6.78% (68 runs sampled) | ||
* sharp-buffer x 42.87 ops/sec ±0.19% (71 runs sampled) | ||
* sharp-file x 43.80 ops/sec ±6.81% (75 runs sampled) | ||
* sharp-buffer x 45.67 ops/sec ±0.41% (75 runs sampled) | ||
@@ -150,0 +150,0 @@ ## Licence |
@@ -11,7 +11,5 @@ var sharp = require("../index"); | ||
var outputJpg = __dirname + "/output.jpg"; | ||
var outputJpgLength = 47035; | ||
var inputPng = __dirname + "/50020484-00001.png"; // http://c.searspartsdirect.com/lis_png/PLDM/50020484-00001.png | ||
var outputPng = __dirname + "/output.png"; | ||
var outputPngLength = 60380; | ||
@@ -77,3 +75,2 @@ var width = 640; | ||
assert.notStrictEqual(null, buffer); | ||
assert.strictEqual(outputJpgLength, buffer.length); | ||
deferred.resolve(); | ||
@@ -136,3 +133,2 @@ } | ||
assert.notStrictEqual(null, buffer); | ||
assert.strictEqual(outputPngLength, buffer.length); | ||
deferred.resolve(); | ||
@@ -139,0 +135,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
946860
156