aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhizhouy <zhizhouy@google.com>2020-04-22 14:48:27 -0700
committerZhizhou Yang <zhizhouy@google.com>2020-05-01 00:01:50 +0000
commitf1f3f35f4d0b72913a46dac2f0500b0dc92ce3f4 (patch)
tree3bb75bce8de1324223394c3183583178037b0c28
parent478c61eb1749f3d341fa3e4ff336d6deab7b8020 (diff)
downloadtoolchain-utils-f1f3f35f4d0b72913a46dac2f0500b0dc92ce3f4.tar.gz
toolchain-utils: Add platform.ReportDiskUsage to toolchain nightly perf tests
Adding the tast test platform.ReportDiskUsage when using 'all_toolchain_perf' benchmark set. This will make toolchain nightly test launch this tast test together with other telemetry benchmarks and show image size changes. BUG=chromium:1071937 TEST=Run experiment with all_toolchain_perf Change-Id: If05893e4ad129f29276a14893024641d03ec1b95 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2161773 Reviewed-by: George Burgess <gbiv@chromium.org> Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Commit-Queue: Zhizhou Yang <zhizhouy@google.com> Tested-by: Zhizhou Yang <zhizhouy@google.com>
-rw-r--r--crosperf/experiment_factory.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/crosperf/experiment_factory.py b/crosperf/experiment_factory.py
index 8839399a..0188fff4 100644
--- a/crosperf/experiment_factory.py
+++ b/crosperf/experiment_factory.py
@@ -289,6 +289,19 @@ class ExperimentFactory(object):
run_local, cwp_dso, weight)
# Add non-telemetry toolchain-perf benchmarks:
+ # Tast test platform.ReportDiskUsage for image size.
+ benchmarks.append(
+ Benchmark(
+ 'platform.ReportDiskUsage',
+ 'platform.ReportDiskUsage',
+ '',
+ 1, # This is not a performance benchmark, only run once.
+ rm_chroot_tmp,
+ '',
+ 'tast', # Specify the suite to be 'tast'
+ show_all_results,
+ retries))
+
# TODO: crbug.com/1057755 Do not enable graphics_WebGLAquarium until
# it gets fixed.
#