Skip to content
Snippets Groups Projects
Commit ab951947 authored by Craig Tiller's avatar Craig Tiller
Browse files

Syntax fix

parent d5b389d4
Branches
Tags
No related merge requests found
...@@ -152,7 +152,7 @@ def collect_perf(bm_name, args): ...@@ -152,7 +152,7 @@ def collect_perf(bm_name, args):
if len(benchmarks) >= 20: if len(benchmarks) >= 20:
# run up to half the cpu count: each benchmark can use up to two cores # run up to half the cpu count: each benchmark can use up to two cores
# (one for the microbenchmark, one for the data flush) # (one for the microbenchmark, one for the data flush)
jobset.run(benchmarks, maxjobs=1), jobset.run(benchmarks, maxjobs=1,
add_env={'GRPC_TEST_PORT_SERVER': 'localhost:%d' % port_server_port}) add_env={'GRPC_TEST_PORT_SERVER': 'localhost:%d' % port_server_port})
jobset.run(profile_analysis, maxjobs=multiprocessing.cpu_count()) jobset.run(profile_analysis, maxjobs=multiprocessing.cpu_count())
jobset.run(cleanup, maxjobs=multiprocessing.cpu_count()) jobset.run(cleanup, maxjobs=multiprocessing.cpu_count())
...@@ -161,7 +161,7 @@ def collect_perf(bm_name, args): ...@@ -161,7 +161,7 @@ def collect_perf(bm_name, args):
cleanup = [] cleanup = []
# run the remaining benchmarks that weren't flushed # run the remaining benchmarks that weren't flushed
if len(benchmarks): if len(benchmarks):
jobset.run(benchmarks, maxjobs=1), jobset.run(benchmarks, maxjobs=1,
add_env={'GRPC_TEST_PORT_SERVER': 'localhost:%d' % port_server_port}) add_env={'GRPC_TEST_PORT_SERVER': 'localhost:%d' % port_server_port})
jobset.run(profile_analysis, maxjobs=multiprocessing.cpu_count()) jobset.run(profile_analysis, maxjobs=multiprocessing.cpu_count())
jobset.run(cleanup, maxjobs=multiprocessing.cpu_count()) jobset.run(cleanup, maxjobs=multiprocessing.cpu_count())
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment