Chromium Code Reviews| Index: tools/perf/benchmarks/memory_infra.py |
| diff --git a/tools/perf/benchmarks/memory_infra.py b/tools/perf/benchmarks/memory_infra.py |
| index 4672f73bf25dc4e5c0547c6afd10ba549efe71e7..7bc3053ffb252772b2a033ea2db9132c2bf79b2b 100644 |
| --- a/tools/perf/benchmarks/memory_infra.py |
| +++ b/tools/perf/benchmarks/memory_infra.py |
| @@ -89,6 +89,12 @@ class TBMv2MemoryBenchmarkTop10Mobile(MemoryHealthPlan): |
| def Name(cls): |
| return 'memory.top_10_mobile_tbmv2' |
| + @classmethod |
| + def ValueCanBeAddedPredicate(cls, value, is_first_result): |
| + # TODO(crbug.com/610962): Remove this stopgap when the perf dashboard |
| + # is able to cope with the data load generated by TBMv2 metrics. |
| + return value.name.endswith('_avg') |
|
petrcermak
2016/05/24 10:23:52
Ned: Will this method also be applied to things li
perezju
2016/05/24 11:29:06
You're correct, this was throwing away dump counts
|
| + |
| # Benchmark is disabled by default because it takes too long to run. |
| @benchmark.Disabled('all') |
| @@ -107,6 +113,12 @@ class DualBrowserBenchmark(_MemoryInfra): |
| def Name(cls): |
| return 'memory.dual_browser_test' |
| + @classmethod |
| + def ValueCanBeAddedPredicate(cls, value, is_first_result): |
| + # TODO(crbug.com/610962): Remove this stopgap when the perf dashboard |
| + # is able to cope with the data load generated by TBMv2 metrics. |
| + return value.name.endswith('_avg') |
| + |
| # TODO(bashi): Workaround for http://crbug.com/532075 |
| # @benchmark.Enabled('android') shouldn't be needed. |