minor changes to schema

pull/6188/head
Jan Tattermusch 9 years ago
parent 7d54db8d49
commit 88cc4e26ed
  1. 1
      tools/run_tests/performance/export_utils.py
  2. 103
      tools/run_tests/performance/scenario_result_schema.json

@ -86,3 +86,4 @@ def _flatten_result_inplace(scenario_result):
scenario_result['latencies'] = json.dumps(scenario_result['latencies'])
for stats in scenario_result['clientStats']:
stats['latencies'] = json.dumps(stats['latencies'])
scenario_result['serverCores'] = json.dumps(scenario_result['serverCores'])

@ -1,4 +1,41 @@
[
{
"name": "metadata",
"type": "RECORD",
"mode": "NULLABLE",
"fields": [
{
"name": "buildNumber",
"type": "INTEGER",
"mode": "NULLABLE"
},
{
"name": "buildUrl",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "jobName",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "gitCommit",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "gitActualCommit",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "created",
"type": "TIMESTAMP",
"mode": "NULLABLE"
}
]
},
{
"name": "scenario",
"type": "RECORD",
@ -97,7 +134,69 @@
},
{
"name": "serverCores",
"type": "INTEGER",
"mode": "REPEATED"
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "summary",
"type": "RECORD",
"mode": "NULLABLE",
"fields": [
{
"name": "qps",
"type": "FLOAT",
"mode": "NULLABLE"
},
{
"name": "qps_per_server_core",
"type": "FLOAT",
"mode": "NULLABLE"
},
{
"name": "server_system_time",
"type": "FLOAT",
"mode": "NULLABLE"
},
{
"name": "server_user_time",
"type": "FLOAT",
"mode": "NULLABLE"
},
{
"name": "client_system_time",
"type": "FLOAT",
"mode": "NULLABLE"
},
{
"name": "client_user_time",
"type": "FLOAT",
"mode": "NULLABLE"
},
{
"name": "latency_50",
"type": "FLOAT",
"mode": "NULLABLE"
},
{
"name": "latency_90",
"type": "FLOAT",
"mode": "NULLABLE"
},
{
"name": "latency_95",
"type": "FLOAT",
"mode": "NULLABLE"
},
{
"name": "latency_99",
"type": "FLOAT",
"mode": "NULLABLE"
},
{
"name": "latency_999",
"type": "FLOAT",
"mode": "NULLABLE"
}
]
}
]

Loading…
Cancel
Save