get rid of premature return in massage_qps_stats

pull/15379/head
Jan Tattermusch 7 years ago
parent 7a94e535f8
commit a2f9304349
  1. 4
      tools/run_tests/performance/massage_qps_stats.py

@ -19,7 +19,9 @@ import massage_qps_stats_helpers
def massage_qps_stats(scenario_result):
for stats in scenario_result["serverStats"] + scenario_result["clientStats"]:
if "coreStats" not in stats: return
if "coreStats" in stats:
# Get rid of the "coreStats" element and replace it by statistics
# that correspond to columns in the bigquery schema.
core_stats = stats["coreStats"]
del stats["coreStats"]
stats["core_client_calls_created"] = massage_qps_stats_helpers.counter(

Loading…
Cancel
Save