diff options
author | zhizhouy <zhizhouy@google.com> | 2020-04-21 18:11:36 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-04-23 01:07:26 +0000 |
commit | c3671eecda39df9d6bbb6bda9157de5edf118b02 (patch) | |
tree | 8c6468dc31f8aa8ac8cc06eaa39a39876f66c608 /cros_utils/tabulator.py | |
parent | 3b2358092e00ab7904a873b516ac6aac832c2277 (diff) | |
download | toolchain-utils-c3671eecda39df9d6bbb6bda9157de5edf118b02.tar.gz |
crosperf: add support to run tast benchmarks
Crosperf used to only support autotest server/client tests, and was
limiting us from running and collecting tast benchmarks.
This patch introduces a simple support for crosperf to run tast. Note
that currently we do not support passing arguments or running tast with
local changes. It basically launches `tast run <ip> <tast_test>` and
collects chart json result and parses it.
BUG=chromium:1071937
TEST=tested with tast.platform.ReportDiskUsage
Change-Id: I1980a48c4ca8e02548e5313d32b8c5ddcf5e3e60
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2160128
Commit-Queue: Zhizhou Yang <zhizhouy@google.com>
Tested-by: Zhizhou Yang <zhizhouy@google.com>
Auto-Submit: Zhizhou Yang <zhizhouy@google.com>
Reviewed-by: George Burgess <gbiv@chromium.org>
Diffstat (limited to 'cros_utils/tabulator.py')
-rw-r--r-- | cros_utils/tabulator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cros_utils/tabulator.py b/cros_utils/tabulator.py index 3d5f2aed..2cf4ffd7 100644 --- a/cros_utils/tabulator.py +++ b/cros_utils/tabulator.py @@ -709,7 +709,7 @@ class KeyAwareComparisonResult(ComparisonResult): 'dropped_percent', '(ms)', '(seconds)', '--ms', '--average_num_missing_tiles', '--experimental_jank', '--experimental_mean_frame', '--experimental_median_frame_time', - '--total_deferred_image_decode_count', '--seconds', 'samples' + '--total_deferred_image_decode_count', '--seconds', 'samples', 'bytes' ] return any([l in key for l in lower_is_better_keys]) |