Extend sweeps further, add streaming

pull/8126/head
Craig Tiller 8 years ago
parent 8c985c2866
commit bf4939fd22
  1. 9
      tools/run_tests/performance/scenario_config.py
  2. 5452
      tools/run_tests/tests.json

@ -256,7 +256,7 @@ class CXXLanguage:
categories=[SCALABLE])
for channels in geometric_progression(1, 500, math.sqrt(10)):
for outstanding in geometric_progression(1, 20000, math.sqrt(10)):
for outstanding in geometric_progression(1, 200000, math.sqrt(10)):
if synchronicity == 'sync' and outstanding > 1200: continue
if outstanding < channels: continue
yield _ping_pong_scenario(
@ -266,6 +266,13 @@ class CXXLanguage:
server_type='%s_SERVER' % synchronicity.upper(),
unconstrained_client=synchronicity, secure=secure,
categories=[SWEEP], channels=channels, outstanding=outstanding)
yield _ping_pong_scenario(
'cpp_protobuf_%s_streaming_qps_unconstrained_%s_%d_channels_%d_outstanding' % (synchronicity, secstr, channels, outstanding),
rpc_type='STREAMING',
client_type='%s_CLIENT' % synchronicity.upper(),
server_type='%s_SERVER' % synchronicity.upper(),
unconstrained_client=synchronicity, secure=secure,
categories=[SWEEP], channels=channels, outstanding=outstanding)
def __str__(self):
return 'c++'

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save