From 3c6306985dafd203626fc40f0b30f06ab2f23466 Mon Sep 17 00:00:00 2001 From: Matej Ferencevic Date: Mon, 4 Dec 2017 15:35:54 +0100 Subject: [PATCH] Link macro benchmark runs together Reviewers: mislav.bradac Reviewed By: mislav.bradac Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D1024 --- tools/apollo/generate | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tools/apollo/generate b/tools/apollo/generate index 91c523750..fdffb1d7c 100755 --- a/tools/apollo/generate +++ b/tools/apollo/generate @@ -39,12 +39,14 @@ def find_memgraph_binary(loc): def generate_run(name, typ = "run", supervisor = "", commands = "", arguments = "", enable_network = False, - outfile_paths = "", infile = "", slave_group = "local"): + outfile_paths = "", infile = "", slave_group = "local", + link_to_run = ""): if not commands.endswith("\n"): commands += "\n" return dict(name = name, type = typ, supervisor = supervisor, commands = commands, arguments = arguments, enable_network = enable_network, outfile_paths = outfile_paths, - infile = infile, slave_group = slave_group) + infile = infile, slave_group = slave_group, + link_to_run = link_to_run) def generate_archive(name, short_name, archive): return dict(name = name, short_name = short_name, archive = archive) @@ -254,13 +256,15 @@ if mode == "diff": supervisor = supervisor, arguments = MACRO_BENCHMARK_ARGS + " --RunnerBin " + binary_parent_path, infile = infile, - outfile_paths = outfile_paths)) + outfile_paths = outfile_paths, + link_to_run = "macro_benchmark__query_suite")) RUNS.append(generate_run("macro_benchmark_parent__query_parallel_suite", supervisor = supervisor, arguments = MACRO_PARALLEL_BENCHMARK_ARGS + " --RunnerBin " + binary_parent_path, infile = infile, outfile_paths = outfile_paths, - slave_group = "remote_20c140g")) + slave_group = "remote_20c140g", + link_to_run = "macro_benchmark__query_parallel_suite")) # macro benchmark comparison data process script_path = os.path.join(BASE_DIR, "tools", "apollo",