Skip to content

Commit 21a2546

Browse files
committed
Updating numbers
1 parent 086fb84 commit 21a2546

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,20 @@ You can install the library under node with the command line
1919
```
2020

2121
This 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+
```

benchmark/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ these benchmarks. It assumes a recent version of node.js (4.0.0 or better).
66

77
npm install benchmark
88
npm install sizeof
9-
npm install fastintcompression
109
nodejs test.js

0 commit comments

Comments
 (0)