diff options
author | 2016-04-14 09:57:44 -0700 | |
---|---|---|
committer | 2016-04-14 13:13:25 -0700 | |
commit | df14927146642fd32002232cb1fd54c128d6b057 (patch) | |
tree | b45d462cf83372e09ff2c8f42f3b4321796e2042 /src/proto | |
parent | d61c252f8e14fa6a3dc8c9d77064ad7394e0c87b (diff) |
add ScenarioResult and ScenarioResultSummary proto messages
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/grpc/testing/control.proto | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/proto/grpc/testing/control.proto b/src/proto/grpc/testing/control.proto index 458b19c4d6..062c2a96c1 100644 --- a/src/proto/grpc/testing/control.proto +++ b/src/proto/grpc/testing/control.proto @@ -194,3 +194,42 @@ message Scenario { message Scenarios { repeated Scenario scenarios = 1; } + +// Basic summary that can be computed from ClientStats and ServerStats +// once the scenario has finished. +message ScenarioResultSummary +{ + // Total number of operations per second over all clients. + double qps = 1; + // QPS per one server core. + double qps_per_server_core = 2; + // server load based on system_time (0.85 => 85%) + double server_system_time = 3; + // server load based on user_time (0.85 => 85%) + double server_user_time = 4; + // client load based on system_time (0.85 => 85%) + double client_system_time = 5; + // client load based on user_time (0.85 => 85%) + double client_user_time = 6; + + // X% latency percentiles (in seconds) + double latency_50 = 7; + double latency_90 = 8; + double latency_95 = 9; + double latency_99 = 10; + double latency_999 = 11; +} + +// Results of a single benchmark scenario. +message ScenarioResult { + // Inputs used to run the scenario. + Scenario scenario = 1; + // Histograms from all clients merged into one histogram. + HistogramData latencies = 2; + // Client stats for each client + repeated ClientStats client_stats = 3; + // Server stats for each server + repeated ServerStats server_stats = 4; + // An after-the-fact computed summary + ScenarioResultSummary summary = 5; +} |