Skip to content
Snippets Groups Projects
Commit c636be0c authored by Florian Fischer's avatar Florian Fischer
Browse files

[eval.py] add host command line option

parent 6238c291
No related branches found
No related tags found
No related merge requests found
Pipeline #65451 failed
......@@ -619,6 +619,8 @@ if __name__ == '__main__':
'--local',
help='run benchmark on localhost',
action='store_true')
parser.add_argument('--host',
help='host running the echo servers')
parser.add_argument('-r',
'--runs',
help='benchmark runs',
......@@ -713,6 +715,13 @@ if __name__ == '__main__':
HOST = "localhost"
if args.host:
if HOST == 'localhost':
print('ERROR: host optioan and local option can not be passed at once')
sys.exit(1)
HOST = args.host
if args.implementations:
SERVER_CMDS = {
i: c
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment