GitHub user aleksraiden added a comment to the discussion: Update the C++ 
standard used by kvrocks to a newer version

So, I have a dirty benchmark of two version of kvrocks, cpp11 (a current head, 
commit 
[f91aad6](https://github.com/apache/incubator-kvrocks/commit/f91aad6246290c7ecd307606e8922dfd04a2fcf6))
 and cpp17:

**cpp11**:

> PING_INLINE: 56980.06 requests per second, p50=0.415 msec
> PING_MBULK: 60679.61 requests per second, p50=0.399 msec
> SET: 34340.66 requests per second, p50=0.711 msec
> GET: 43535.05 requests per second, p50=0.575 msec
> INCR: 29463.76 requests per second, p50=0.775 msec
> LPUSH: 25555.84 requests per second, p50=0.759 msec
> RPUSH: 25947.07 requests per second, p50=0.815 msec
> LPOP: 22276.68 requests per second, p50=0.791 msec
> RPOP: 22537.75 requests per second, p50=0.591 msec
> SADD: 31230.48 requests per second, p50=0.775 msec
> HSET: 20529.67 requests per second, p50=0.751 msec
> SPOP: 53163.21 requests per second, p50=0.455 msec
> ZADD: 26525.20 requests per second, p50=0.895 msec
> ZPOPMIN: 47846.89 requests per second, p50=0.543 msec
> LPUSH (needed to benchmark LRANGE): 24348.67 requests per second, p50=0.783 
> msec
> LRANGE_100 (first 100 elements): 15206.81 requests per second, p50=1.727 msec
> LRANGE_300 (first 300 elements): 6825.01 requests per second, p50=3.815 msec
> LRANGE_500 (first 500 elements): 3684.46 requests per second, p50=7.087 msec
> LRANGE_600 (first 600 elements): 3201.84 requests per second, p50=8.127 msec
> MSET (10 keys): 8602.15 requests per second, p50=1.007 msec


**cpp17**:

> PING_INLINE: 63734.86 requests per second, p50=0.383 msec
> PING_MBULK: 65573.77 requests per second, p50=0.383 msec
> SET: 34638.03 requests per second, p50=0.727 msec
> GET: 53304.90 requests per second, p50=0.407 msec
> INCR: 28843.38 requests per second, p50=0.823 msec
> LPUSH: 25425.88 requests per second, p50=0.847 msec
> RPUSH: 25680.53 requests per second, p50=0.871 msec
> LPOP: 22737.61 requests per second, p50=0.759 msec
> RPOP: 23299.16 requests per second, p50=0.639 msec
> SADD: 32092.43 requests per second, p50=0.783 msec
> HSET: 21399.53 requests per second, p50=0.639 msec
> SPOP: 50709.94 requests per second, p50=0.479 msec
> ZADD: 28530.67 requests per second, p50=0.799 msec
> ZPOPMIN: 59844.41 requests per second, p50=0.391 msec
> LPUSH (needed to benchmark LRANGE): 23435.67 requests per second, p50=0.719 
> msec
> LRANGE_100 (first 100 elements): 16401.51 requests per second, p50=1.671 msec
> LRANGE_300 (first 300 elements): 6204.63 requests per second, p50=4.207 msec
> LRANGE_500 (first 500 elements): 4082.63 requests per second, p50=6.591 msec
> LRANGE_600 (first 600 elements): 3363.95 requests per second, p50=7.927 msec
> MSET (10 keys): 8397.72 requests per second, p50=1.079 msec

All benchmarks running in same machine (Debian 12 x64).

Run own benchmark: run ./kvrocks without options and then redis-benchmark -p 
6666 -q

GitHub link: 
https://github.com/apache/incubator-kvrocks/discussions/970#discussioncomment-3839156

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to