Skip to content

Instantly share code, notes, and snippets.

@ruyrocha
Last active August 29, 2015 13:57
Show Gist options
  • Save ruyrocha/9781172 to your computer and use it in GitHub Desktop.
Save ruyrocha/9781172 to your computer and use it in GitHub Desktop.
~ # redis-benchmark -s /var/run/redis/redis.sock -q -n 10000
PING_INLINE: 156250.00 requests per second
PING_BULK: 196078.44 requests per second
SET: 212765.97 requests per second
GET: 185185.19 requests per second
INCR: 217391.30 requests per second
LPUSH: 200000.00 requests per second
LPOP: 222222.22 requests per second
SADD: 204081.64 requests per second
SPOP: 217391.30 requests per second
LPUSH (needed to benchmark LRANGE): 208333.33 requests per second
LRANGE_100 (first 100 elements): 64516.13 requests per second
LRANGE_300 (first 300 elements): 19569.47 requests per second
LRANGE_500 (first 450 elements): 12019.23 requests per second
LRANGE_600 (first 600 elements): 8628.13 requests per second
MSET (10 keys): 121951.22 requests per second
~ # redis-benchmark -q -n 10000
PING_INLINE: 89285.71 requests per second
PING_BULK: 97087.38 requests per second
SET: 95238.10 requests per second
GET: 101010.10 requests per second
INCR: 100000.00 requests per second
LPUSH: 103092.78 requests per second
LPOP: 102040.82 requests per second
SADD: 90909.09 requests per second
SPOP: 86206.90 requests per second
LPUSH (needed to benchmark LRANGE): 100000.00 requests per second
LRANGE_100 (first 100 elements): 47619.05 requests per second
LRANGE_300 (first 300 elements): 16694.49 requests per second
LRANGE_500 (first 450 elements): 9451.80 requests per second
LRANGE_600 (first 600 elements): 7627.77 requests per second
MSET (10 keys): 67567.57 requests per second
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment