Skip to content

Commit 2d1b1e2

Browse files
author
Ruben Bridgewater
committed
Fix benchmark section in the readme
1 parent 3225b1e commit 2d1b1e2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,7 @@ Here are results of `multi_bench.js` which is similar to `redis-benchmark` from
649649

650650
hiredis parser (Lenovo T450s i7-5600U):
651651

652+
```
652653
Client count: 5, node version: 4.1.2, server version: 3.0.3, parser: hiredis
653654
PING, 1/5 min/max/avg/p95: 0/ 4/ 0.02/ 0.00 1223ms total, 40883.07 ops/sec
654655
PING, 50/5 min/max/avg/p95: 0/ 3/ 0.50/ 1.00 497ms total, 100603.62 ops/sec
@@ -699,6 +700,7 @@ Client count: 5, node version: 4.1.2, server version: 3.0.3, parser: hiredis
699700
GET 4MiB buf, 20/5 min/max/avg/p95: 14/ 133/ 85.34/ 107.95 458ms total, 218.34 ops/sec
700701
GET 4MiB buf, batch 20/5 min/max/avg/p95: 78/ 96/ 88.00/ 96.00 440ms total, 227.27 ops/sec
701702
End of tests. Total time elapsed: 50421 ms
703+
```
702704

703705
The hiredis and js parser should most of the time be on the same level. The js parser lacks speed for large responses though.
704706
Therefor the hiredis parser is the default used in node_redis and we recommend using the hiredis parser. To use `hiredis`, do:

0 commit comments

Comments
 (0)