Home

Awesome

neomodel-locust

Performance tests for neomodel

How to use

It's based on locust, so in order to run it, run the following commands :

# Start the test API
# Note that it's tied to a branch for the neomodel repo
pipenv install
pipenv run start

# In a separate terminal
pipenv run locust

Then, go to the Locust UI, and pass the following parameters (adjust accordingly):

ParameterValue (default)
Number of users1
Ramp up1
Hosthttp://localhost:8000
Run time (advanced)10

Results

neomodel overhead vs Neo4j driver

For this test, we compared pushing a Cypher query through :

The results show that neomodel adds very little overhead to the Neo4j driver.

Results :

Results table

Sync vs Async comparison

For this test, we compared sync neomodel vs async neomodel, in two ways :

Results :

Results table