Don't init perf if on apollo
Reviewers: mferencevic Reviewed By: mferencevic Differential Revision: https://phabricator.memgraph.io/D601
This commit is contained in:
parent
b98c12ea89
commit
d9fbcfc1a2
@ -42,7 +42,8 @@ class _QuerySuite:
|
||||
"query_plan_execution_time", WALL_TIME)
|
||||
|
||||
def __init__(self, args):
|
||||
self.perf = Perf()
|
||||
if not APOLLO:
|
||||
self.perf = Perf()
|
||||
argp = ArgumentParser(description=__doc__)
|
||||
argp.add_argument("--perf", help="Run perf on memgraph binary.",
|
||||
action="store_true")
|
||||
|
Loading…
Reference in New Issue
Block a user