2017-09-22 02:01:10 +08:00
|
|
|
# script used to run LDBC benchmarks on Apollo
|
|
|
|
|
|
|
|
# setup dependencies
|
|
|
|
TIMEOUT=1200 ./setup
|
|
|
|
|
|
|
|
# build dataset
|
|
|
|
TIMEOUT=3600 ./build_dataset
|
|
|
|
|
|
|
|
# run read benchmarks
|
|
|
|
TIMEOUT=3600 ./run_benchmark --run-db memgraph --create-index --thread-count $THREADS --result-file-prefix read
|
|
|
|
TIMEOUT=3600 ./run_benchmark --run-db neo4j --create-index --thread-count $THREADS --result-file-prefix read
|
2018-01-23 22:31:57 +08:00
|
|
|
./ve3/bin/python3 ../../../tools/plot/ldbc_latency --results results/read-memgraph-scale_1-LDBC-results.json results/read-neo4j-scale_1-LDBC-results.json --logo-path plots/ldbc-logo.png --plot-title "Read queries, scale 1" --output plots/read-queries-scale_1.png
|
2017-09-22 02:01:10 +08:00
|
|
|
|
|
|
|
# run update benchmarks
|
2017-09-24 17:04:36 +08:00
|
|
|
TIMEOUT=3600 ./run_benchmark --run-db memgraph --create-index --thread-count $THREADS --result-file-prefix update --test-type updates --time-compression-ratio 1.5 --operation-count 200
|
|
|
|
TIMEOUT=3600 ./run_benchmark --run-db neo4j --create-index --thread-count $THREADS --result-file-prefix update --test-type updates --time-compression-ratio 1.5 --operation-count 200
|
2018-01-23 22:31:57 +08:00
|
|
|
./ve3/bin/python3 ../../../tools/plot/ldbc_latency --results results/update-memgraph-scale_1-LDBC-results.json results/update-neo4j-scale_1-LDBC-results.json --logo-path plots/ldbc-logo.png --plot-title "Update queries, scale 1" --output plots/update-queries-scale_1.png
|
2017-12-28 23:27:30 +08:00
|
|
|
|
|
|
|
# convert results to Apollo measurements
|
|
|
|
./convert_results
|