Classes | |
class | CSharpLanguage |
class | CXXLanguage |
class | DotnetLanguage |
class | GoLanguage |
class | JavaLanguage |
class | Language |
class | NodeLanguage |
class | Php7Language |
class | PythonAsyncIOLanguage |
class | PythonLanguage |
class | RubyLanguage |
Functions | |
def | _add_channel_arg (config, key, value) |
def | _get_secargs (is_secure) |
def | _load_params (offered_load) |
def | _payload_type (use_generic_payload, req_size, resp_size) |
def | _ping_pong_scenario (name, rpc_type, client_type, server_type, secure=True, use_generic_payload=False, req_size=0, resp_size=0, unconstrained_client=None, client_language=None, server_language=None, async_server_threads=0, client_processes=0, server_processes=0, server_threads_per_cq=0, client_threads_per_cq=0, warmup_seconds=WARMUP_SECONDS, categories=None, channels=None, outstanding=None, num_clients=None, resource_quota_size=None, messages_per_stream=None, excluded_poll_engines=None, minimal_stack=False, offered_load=None) |
def | geometric_progression (start, stop, step) |
def | remove_nonproto_fields (scenario) |
Variables | |
int | BENCHMARK_SECONDS = 30 |
tuple | DEFAULT_CATEGORIES = (SCALABLE, SMOKETEST) |
dictionary | HISTOGRAM_PARAMS |
string | INPROC = 'inproc' |
int | JAVA_WARMUP_SECONDS = 15 |
dictionary | LANGUAGES |
dictionary | OUTSTANDING_REQUESTS = {'async': 6400, 'async-limited': 800, 'sync': 1000} |
string | PSM = 'psm' |
string | SCALABLE = 'scalable' |
dictionary | SECURE_SECARGS |
string | SMOKETEST = 'smoketest' |
string | SWEEP = 'sweep' |
int | WARMUP_SECONDS = 5 |
int | WIDE = 64 |
|
private |
Definition at line 100 of file scenario_config.py.
|
private |
Definition at line 49 of file scenario_config.py.
|
private |
Definition at line 89 of file scenario_config.py.
|
private |
Definition at line 76 of file scenario_config.py.
|
private |
Creates a basic ping pong scenario.
Definition at line 114 of file scenario_config.py.
def performance.scenario_config.geometric_progression | ( | start, | |
stop, | |||
step | |||
) |
Definition at line 69 of file scenario_config.py.
def performance.scenario_config.remove_nonproto_fields | ( | scenario | ) |
Removes special-purpose fields that don't belong in the protobuf. This function removes additional information about the scenario that is not included in the ScenarioConfig protobuf message.
Definition at line 56 of file scenario_config.py.
int performance.scenario_config.BENCHMARK_SECONDS = 30 |
Definition at line 21 of file scenario_config.py.
Definition at line 28 of file scenario_config.py.
dictionary performance.scenario_config.HISTOGRAM_PARAMS |
Definition at line 35 of file scenario_config.py.
string performance.scenario_config.INPROC = 'inproc' |
Definition at line 25 of file scenario_config.py.
int performance.scenario_config.JAVA_WARMUP_SECONDS = 15 |
Definition at line 20 of file scenario_config.py.
dictionary performance.scenario_config.LANGUAGES |
Definition at line 1590 of file scenario_config.py.
dictionary performance.scenario_config.OUTSTANDING_REQUESTS = {'async': 6400, 'async-limited': 800, 'sync': 1000} |
Definition at line 43 of file scenario_config.py.
string performance.scenario_config.PSM = 'psm' |
Definition at line 27 of file scenario_config.py.
string performance.scenario_config.SCALABLE = 'scalable' |
Definition at line 24 of file scenario_config.py.
dictionary performance.scenario_config.SECURE_SECARGS |
Definition at line 30 of file scenario_config.py.
string performance.scenario_config.SMOKETEST = 'smoketest' |
Definition at line 23 of file scenario_config.py.
string performance.scenario_config.SWEEP = 'sweep' |
Definition at line 26 of file scenario_config.py.
int performance.scenario_config.WARMUP_SECONDS = 5 |
Definition at line 19 of file scenario_config.py.
int performance.scenario_config.WIDE = 64 |
Definition at line 46 of file scenario_config.py.