|
|
|
@ -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; |
|
|
|
|
} |
|
|
|
|