More apollo harness integration
Reviewers: mferencevic Reviewed By: mferencevic Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D603
This commit is contained in:
parent
0f562cd043
commit
ddbb63a601
@ -365,6 +365,7 @@ if (MEMGRAPH)
|
||||
set_property(TARGET ${MEMGRAPH_BUILD_NAME}
|
||||
PROPERTY CXX_STANDARD ${cxx_standard})
|
||||
target_link_libraries(${MEMGRAPH_BUILD_NAME} memgraph_lib)
|
||||
add_custom_target(memgraph DEPENDS ${MEMGRAPH_BUILD_NAME})
|
||||
endif()
|
||||
|
||||
# utility target to copy hardcoded queries
|
||||
|
1
tests/macro_benchmark/harness/.gitignore
vendored
1
tests/macro_benchmark/harness/.gitignore
vendored
@ -1 +1,2 @@
|
||||
.storage/
|
||||
.harness_summary
|
||||
|
@ -38,7 +38,7 @@ class _QuerySuite:
|
||||
# what the QuerySuite can work with
|
||||
KNOWN_KEYS = {"config", "setup", "itersetup", "run", "iterteardown",
|
||||
"teardown", "common"}
|
||||
summary = "Summary:\n{:>30}{:>30}{:>30}{:>30}{:>30}\n".format(
|
||||
summary = "Macro benchmark summary:\n{:>30}{:>30}{:>30}{:>30}{:>30}\n".format(
|
||||
"scenario_name", "query_parsing_time", "query_planning_time",
|
||||
"query_plan_execution_time", WALL_TIME)
|
||||
|
||||
@ -529,6 +529,8 @@ def main():
|
||||
for result in results:
|
||||
jail.store_data(result)
|
||||
print("\n\n{}\n".format(suite.summary))
|
||||
with open(os.path.join(DIR_PATH, ".harness_summary"), "w") as f:
|
||||
print(suite.summary, file=f)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Loading…
Reference in New Issue
Block a user