Home

dmitriid edited this page Sep 27, 2010 · 5 revisions
Clone this wiki locally

First benchmarks are in!

Where

  • MacBook Pro, 2.4 GHz Intel Core 2 Duo, 4 GB 667 MHz DDR2 SDRAM
  • Redis 2.1.1
  • Blueredis 0.2

What

Benchmarks test each API call in the following sequence:

  • Call an API/API batch once, then 10 times, then 100 times, then 1000 times
  • Repeat this once, then 10 times, then 100 times, then 1000 times

So, it starts with 1 API call performed once and ends with 1000 runs of 1000 API calls.

Results

addVertex

Preparation

none

Request

graph.addVertex(null);

Results

Min:  2056 req/s
Max:  3106 req/s
Mean: 2682 req/s

addVertex + setProperty, indexing off, serializeProperties == false

Preparation

graph.setIndexing(false);
graph.serializeProperties(false);

Request

Vertex v = graph.addVertex(null);
v.setProperty("name", integerValue);

Results

Min:  1402 req/s
Max:  2223 req/s
Mean: 1919.625 req/s

addVertex + setProperty, indexing off, serializeProperties == true

Preparation

graph.setIndexing(false);
graph.serializeProperties(true);

Request

Vertex v = graph.addVertex(null);
v.setProperty("name", integerValue);

Results

Min:  82 req/s
Max:  2058 req/s
Mean: 1321.5625 req/s

addVertex + setProperty, indexing on, serializeProperties == false

Preparation

graph.setIndexing(true);
graph.serializeProperties(false);

Request

Vertex v = graph.addVertex(null);
v.setProperty("name", integerValue);

Results

Min:  181 req/s
Max:  1510 req/s
Mean: 1225.5625 req/s

addVertex + setProperty, indexing on, serializeProperties == true

Preparation

graph.setIndexing(true);
graph.serializeProperties(true);

Request

Vertex v = graph.addVertex(null);
v.setProperty("name", integerValue);

Results

Min:  14 req/s
Max:  1396 req/s
Mean: 1081.0625 req/s