Comparing version 3.0.0 to 3.0.1
@@ -5,3 +5,3 @@ { | ||
"description": "Nodejs bindings to Google's Snappy compression library", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"homepage": "https://github.com/kesla/node-snappy", | ||
@@ -24,4 +24,5 @@ "repository": { | ||
"devDependencies": { | ||
"async-benchmark": "^1.0.0", | ||
"tap": "~0.4.11" | ||
} | ||
} |
@@ -19,2 +19,13 @@ # Node-snappy [![Build Status](https://secure.travis-ci.org/kesla/node-snappy.png)](http://travis-ci.org/kesla/node-snappy) | ||
## Benchmark | ||
This is the result I'm seeing on my laptop (Macbook Air from 2012) running `node benchmark` | ||
``` | ||
snappy.compress() x 479 ops/sec ±0.99% (80 runs sampled) | ||
zlib.gzip() x 289 ops/sec ±1.66% (86 runs sampled) | ||
snappy.uncompress() x 652 ops/sec ±0.86% (43 runs sampled) | ||
zlib.gunzip() x 559 ops/sec ±1.65% (64 runs sampled) | ||
``` | ||
## Examples | ||
@@ -21,0 +32,0 @@ ### String |
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1757112
57
154
96
1
2
1