Don't init perf if on apollo

Reviewers: mferencevic

Reviewed By: mferencevic

Differential Revision: https://phabricator.memgraph.io/D601
This commit is contained in:
Mislav Bradac 2017-07-29 19:20:54 +02:00
parent b98c12ea89
commit d9fbcfc1a2

View File

@ -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")