Harness - dense expand group added, more tests on bench

Summary: It turns out trivial if I use unwind for vertex creation, MATCH for edge creation and UNWIND for test duration. It took hours to converge to this :(

Reviewers: mislav.bradac, buda

Reviewed By: mislav.bradac

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D747
This commit is contained in:
florijan 2017-09-04 16:06:18 +02:00
parent 4d4dbc245d
commit cd0d8eb543
7 changed files with 17 additions and 4 deletions

View File

@ -0,0 +1,3 @@
{
"iterations": 10
}

View File

@ -0,0 +1,2 @@
MATCH (a)-->(c)
RETURN 1 SKIP 1000000;

View File

@ -0,0 +1,4 @@
MATCH (a) WITH a LIMIT 10
MATCH (b) WITH a, b
MATCH (a)-[r]->(b)
RETURN 1 SKIP 1000000;

View File

@ -0,0 +1,2 @@
UNWIND range(0, 499) AS i CREATE ();
MATCH (a), (b) CREATE (a)-[:Type]->(b);

View File

@ -0,0 +1 @@
MATCH (n) DETACH DELETE n

View File

@ -311,8 +311,8 @@ class QuerySuite(_QuerySuite):
return ["MemgraphRunner", "NeoRunner"]
def groups(self):
return ["1000_create", "unwind_create", "match", "expression",
"aggregation", "return", "update", "delete"]
return ["1000_create", "unwind_create", "match", "dense_expand",
"expression", "aggregation", "return", "update", "delete"]
class QueryParallelSuite(_QuerySuite):

View File

@ -191,8 +191,9 @@ binary_release_link_path = os.path.join(BUILD_RELEASE_DIR, "memgraph")
# macro benchmark tests
MACRO_BENCHMARK_ARGS = (
"QuerySuite MemgraphRunner " +
"--groups aggregation 1000_create unwind_create --no-strict")
"QuerySuite MemgraphRunner "
"--groups aggregation 1000_create unwind_create dense_expand "
"--no-strict")
macro_bench_path = os.path.join(BASE_DIR, "tests", "macro_benchmark")
harness_client_binary = os.path.join(BUILD_RELEASE_DIR, "tests",
"macro_benchmark", "harness_client")