diff options
author | Luis Lozano <llozano@chromium.org> | 2013-03-15 14:44:13 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-03-15 15:51:37 -0700 |
commit | f81680c018729fd4499e1e200d04b48c4b90127c (patch) | |
tree | 940608da8374604b82edfdb2d7df55d065f05d4c /crosperf/results_organizer.py | |
parent | 2296ee0b914aba5bba07becab4ff68884ce9b8a5 (diff) | |
download | toolchain-utils-f81680c018729fd4499e1e200d04b48c4b90127c.tar.gz |
Cleaned up directory after copy of tools from perforce directory
Got rid of stale copies of some tools like "crosperf" and moved all
files under v14 directory (that came from perforce) into the top
directory.
BUG=None
TEST=None
Change-Id: I408d17a36ceb00e74db71403d2351fd466a14f8e
Reviewed-on: https://gerrit-int.chromium.org/33887
Tested-by: Luis Lozano <llozano@chromium.org>
Reviewed-by: Yunlian Jiang <yunlian@google.com>
Commit-Queue: Luis Lozano <llozano@chromium.org>
Diffstat (limited to 'crosperf/results_organizer.py')
-rw-r--r-- | crosperf/results_organizer.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/crosperf/results_organizer.py b/crosperf/results_organizer.py index 810186b2..2e5c9296 100644 --- a/crosperf/results_organizer.py +++ b/crosperf/results_organizer.py @@ -19,6 +19,11 @@ class ResultOrganizer(object): [ ]}. """ + key_filter = ["milliseconds_", + "retval", + "iterations", + "ms_", + "score_"] def __init__(self, benchmark_runs, labels, benchmarks=None): self.result = {} @@ -43,7 +48,15 @@ class ResultOrganizer(object): cur_dict = cur_table[index] if not benchmark_run.result: continue + benchmark = benchmark_run.benchmark + key_filter_on = (benchmark.key_results_only and + "PyAutoPerfTest" in benchmark.name + benchmark.autotest_name and + "perf." not in benchmark.autotest_args) for autotest_key in benchmark_run.result.keyvals: + if (key_filter_on and + not any([key for key in self.key_filter if key in autotest_key]) + ): + continue result_value = benchmark_run.result.keyvals[autotest_key] cur_dict[autotest_key] = result_value self._DuplicatePass() |