diff options
author | Yunlian Jiang <yunlian@chromium.org> | 2016-08-22 16:56:24 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-08-24 11:43:17 -0700 |
commit | 1ced193baabbf6d6aa1aa3913bcff714e5ae376d (patch) | |
tree | 3cfde0cb559e3b2581ae6f2cb476d6c33a203917 /cros_utils/tabulator.py | |
parent | eb9fce674ff90a6de04827bfe1ef6e07a99c8f61 (diff) | |
download | toolchain-utils-1ced193baabbf6d6aa1aa3913bcff714e5ae376d.tar.gz |
crosperf: fix telemetry results parsing.
New telemetry results provide multiple values for a single key.
This CL uses the average value to make crosperf work.
BUG=chromium:639896
TEST=run crosperf with 2 iterations of speedometer.
Change-Id: I32e7a00a57dbbe995915af0c32918f1d680ae484
Reviewed-on: https://chrome-internal-review.googlesource.com/279057
Commit-Ready: Yunlian Jiang <yunlian@google.com>
Tested-by: Yunlian Jiang <yunlian@google.com>
Reviewed-by: Caroline Tice <cmtice@google.com>
Diffstat (limited to 'cros_utils/tabulator.py')
-rw-r--r-- | cros_utils/tabulator.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cros_utils/tabulator.py b/cros_utils/tabulator.py index 1a262f17..2c26ccad 100644 --- a/cros_utils/tabulator.py +++ b/cros_utils/tabulator.py @@ -259,8 +259,6 @@ class Result(object): baseline_values: List of baseline values. Can be none if this is the baseline itself. """ - if len(values) == 1 and type(values[0]) == list: - values = values[0] all_floats = True values = _StripNone(values) if not values: |