memgraph/tests/macro_benchmark/run_bfs_pokec
Marko Culinovic 158f97206d Add bfs benchmark on pokec dataset
Reviewers: ipaljak, mferencevic

Reviewed By: ipaljak, mferencevic

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1533
2018-08-13 09:50:39 +02:00

24 lines
933 B
Bash
Executable File

#!/bin/bash -e
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Run bfs pokec bench (download dataset, run neo and memgraph, plot the results).
cd ${script_dir}
mkdir -p .results/bfs_pokec/
${script_dir}/groups/bfs_pokec/download_dataset
./harness LongRunningSuite MemgraphRunner --groups bfs_pokec --workload with_destination_node
mv .harness_summary ${script_dir}/.results/bfs_pokec/memgraph_bfs_1.summary
./harness LongRunningSuite NeoRunner --groups bfs_pokec --workload with_destination_node
mv .harness_summary ${script_dir}/.results/bfs_pokec/neo4j_bfs_1.summary
./harness LongRunningSuite MemgraphRunner --groups bfs_pokec --workload without_destination_node
mv .harness_summary ${script_dir}/.results/bfs_pokec/memgraph_bfs_2.summary
./harness LongRunningSuite NeoRunner --groups bfs_pokec --workload without_destination_node
mv .harness_summary ${script_dir}/.results/bfs_pokec/neo4j_bfs_2.summary