Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

snappy

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snappy - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

benchmark.js

3

package.json

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc