stephenmcd / curiodb

Distributed NoSQL Database
http://curiodb.jupo.org
BSD 2-Clause "Simplified" License
511 stars 47 forks source link

Scala 2.11 #10

Closed analytically closed 9 years ago

analytically commented 9 years ago

Upgrading to Scala 2.11 gives 10-20% better performance. Here are my results:

Scala 2.10, second run:

PING_INLINE: 74626.87 requests per second
PING_BULK: 52356.02 requests per second
SET: 51546.39 requests per second
GET: 64102.56 requests per second
INCR: 71428.57 requests per second
LPUSH: 64516.13 requests per second
LPOP: 66666.66 requests per second
SADD: 73529.41 requests per second
SPOP: 57471.27 requests per second
LPUSH (needed to benchmark LRANGE): 73529.41 requests per second
LRANGE_100 (first 100 elements): 36630.04 requests per second
LRANGE_300 (first 300 elements): 15948.96 requests per second
LRANGE_500 (first 450 elements): 10395.01 requests per second
LRANGE_600 (first 600 elements): 8733.62 requests per second
MSET (10 keys): 30959.75 requests per second

Scala 2.11.7, second run:

PING_INLINE: 59523.81 requests per second
PING_BULK: 76923.08 requests per second
SET: 81300.81 requests per second
GET: 84745.77 requests per second
INCR: 72992.70 requests per second
LPUSH: 47393.37 requests per second
LPOP: 68493.15 requests per second
SADD: 84745.77 requests per second
SPOP: 84033.61 requests per second
LPUSH (needed to benchmark LRANGE): 77519.38 requests per second
LRANGE_100 (first 100 elements): 39215.69 requests per second
LRANGE_300 (first 300 elements): 16611.29 requests per second
LRANGE_500 (first 450 elements): 11947.43 requests per second
LRANGE_600 (first 600 elements): 9182.74 requests per second
MSET (10 keys): 35842.29 requests per second
stephenmcd commented 9 years ago

Thanks for the data Mathias!

We'll specify 2.11 as the Scala version used, as per #11, so I'll close this for now.