Skip to content

Instantly share code, notes, and snippets.

@dmilith
Created November 11, 2019 20:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmilith/e9b617c84fc6ec65a8b3c3c4d4f902ac to your computer and use it in GitHub Desktop.
Save dmilith/e9b617c84fc6ec65a8b3c3c4d4f902ac to your computer and use it in GitHub Desktop.
Redis benchmark on 11.2-vks vs 12.1-vks
11.2:
[1573504676] kenny:~ λ redis-benchmark -h 127.0.0.1 -q -n 1000 -c 10 -P 5
PING_INLINE: 33333.33 requests per second
PING_BULK: 35714.29 requests per second
SET: 24390.24 requests per second
GET: 25000.00 requests per second
INCR: 30303.03 requests per second
LPUSH: 27027.03 requests per second
RPUSH: 32258.06 requests per second
LPOP: 32258.06 requests per second
RPOP: 10869.56 requests per second
SADD: 12987.01 requests per second
HSET: 31250.00 requests per second
SPOP: 29411.76 requests per second
LPUSH (needed to benchmark LRANGE): 31250.00 requests per second
LRANGE_100 (first 100 elements): 15873.02 requests per second
LRANGE_300 (first 300 elements): 5988.02 requests per second
LRANGE_500 (first 450 elements): 3717.47 requests per second
LRANGE_600 (first 600 elements): 2873.56 requests per second
MSET (10 keys): 14492.75 requests per second
12.1:
[1573504051] kenny:~ λ redis-benchmark -h 127.0.0.1 -q -n 1000 -c 10 -P 5
PING_INLINE: 32258.06 requests per second
PING_BULK: 34482.76 requests per second
SET: 32258.06 requests per second
GET: 35714.29 requests per second
INCR: 35714.29 requests per second
LPUSH: 32258.06 requests per second
RPUSH: 30303.03 requests per second
LPOP: 30303.03 requests per second
RPOP: 30303.03 requests per second
SADD: 34482.76 requests per second
HSET: 28571.43 requests per second
SPOP: 29411.76 requests per second
LPUSH (needed to benchmark LRANGE): 31250.00 requests per second
LRANGE_100 (first 100 elements): 20833.33 requests per second
LRANGE_300 (first 300 elements): 10638.30 requests per second
LRANGE_500 (first 450 elements): 6060.61 requests per second
LRANGE_600 (first 600 elements): 5780.35 requests per second
MSET (10 keys): 23809.52 requests per second
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment