From 9847df92a2b5f76ccddc4bf10288819712a8ca47 Mon Sep 17 00:00:00 2001 From: cmtice Date: Fri, 6 Dec 2013 15:46:49 -0800 Subject: Use default results for Telemetry tests; add option to use all results. When running telemetry_Crosperf, use the json file of report defaults to determine which results to actually include in the report. This CL also adds a flag to Crospref, --show_all_results=True, that allows the user to override the defaults and generate a report showing all the values. BUG=None TEST=Tested this both with and without the --show_all_results flag. It works as expected for me. Change-Id: I91364572ebdf3d54bb8b408fbd5a2580923f6829 Reviewed-on: https://chrome-internal-review.googlesource.com/149457 Reviewed-by: Yunlian Jiang Commit-Queue: Caroline Tice Tested-by: Caroline Tice --- crosperf/benchmark.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crosperf/benchmark.py') diff --git a/crosperf/benchmark.py b/crosperf/benchmark.py index f928a649..cb9f199b 100644 --- a/crosperf/benchmark.py +++ b/crosperf/benchmark.py @@ -17,7 +17,7 @@ class Benchmark(object): def __init__(self, name, test_name, test_args, iterations, outlier_range, key_results_only, rm_chroot_tmp, perf_args, - suite="pyauto", use_test_that=False): + suite="pyauto", use_test_that=False, show_all_results=False): self.name = name #For telemetry, this is the benchmark name. self.test_name = test_name @@ -31,3 +31,4 @@ class Benchmark(object): self.iteration_adjusted = False self.suite = suite self.use_test_that = use_test_that + self.show_all_results = show_all_results -- cgit v1.2.3