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

Reduce concurrency

parent 715e43bc
No related branches found
No related tags found
No related merge requests found
......@@ -94,7 +94,7 @@ for bm_name in sys.argv[1:]:
'--source', '%s.trace' % fnize(line), '--fmt', 'simple',
'--out', 'reports/%s.txt' % fnize(line)], timeout_seconds=None))
cleanup.append(jobset.JobSpec(['rm', '%s.trace' % fnize(line)]))
if len(benchmarks) >= 2 * multiprocessing.cpu_count():
if len(benchmarks) >= multiprocessing.cpu_count():
jobset.run(benchmarks, maxjobs=multiprocessing.cpu_count()/2,
add_env={'GRPC_TEST_PORT_SERVER': 'localhost:%d' % port_server_port})
jobset.run(profile_analysis, maxjobs=multiprocessing.cpu_count())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment