File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -19,3 +19,20 @@ You can install the library under node with the command line
1919```
2020
2121This code is made available under the Apache License 2.0.
22+
23+ ## Performance numbers
24+
25+ Go to benchmark repository (check the README.md file) and run the benchmark:
26+
27+ ``` bash
28+ $ nodejs test.js
29+ Platform: linux 3.13.0-91-generic x64
30+ Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
31+ Node version 4.5.0, v8 version 4.5.103.37
32+
33+ input size: 7.813K compressed size: 1000B
34+ FastIntegerCompression.compress x 347,635 ops/sec ±1.06% (93 runs sampled)
35+ Fastest is FastIntegerCompression.compress
36+ FastIntegerCompression.uncompress x 162,411 ops/sec ±0.58% (92 runs sampled)
37+ Fastest is FastIntegerCompression.uncompress
38+ ```
Original file line number Diff line number Diff line change @@ -6,5 +6,4 @@ these benchmarks. It assumes a recent version of node.js (4.0.0 or better).
66
77npm install benchmark
88npm install sizeof
9- npm install fastintcompression
109nodejs test.js
You can’t perform that action at this time.
0 commit comments