Chromium Code Reviews| Index: tools/perf/benchmarks/memory.py |
| diff --git a/tools/perf/benchmarks/memory.py b/tools/perf/benchmarks/memory.py |
| index d669a12cafd5c51e9f136092e2b2555b2d8bfe42..2ed046cef7f06025fa5914877a54038c68269f08 100644 |
| --- a/tools/perf/benchmarks/memory.py |
| +++ b/tools/perf/benchmarks/memory.py |
| @@ -51,6 +51,28 @@ class _MemoryInfra(perf_benchmark.PerfBenchmark): |
| options.clear_sytem_cache_for_browser_and_profile_on_start = True |
| +@benchmark.Enabled('mac') |
| +@benchmark.Enabled('win') |
|
nednguyen
2017/03/14 01:03:21
Can you also add:
@benchmark.Owner(emails=['erikch
|
| +class MemoryBenchmarkTrivialSitesDesktop(_MemoryInfra): |
| + """Measure memory usage on trivial sites.""" |
| + page_set = page_sets.TrivialSitesStorySet |
| + options = {'pageset_repeat': 5} |
| + |
| + @classmethod |
| + def Name(cls): |
| + return 'memory.desktop' |
| + |
| + @classmethod |
| + def ShouldTearDownStateAfterEachStoryRun(cls): |
| + return True |
| + |
| + @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 not _IGNORED_STATS_RE.search(value.name) |
| + |
| + |
| @benchmark.Enabled('android') # catapult:#3176 |
| class MemoryBenchmarkTop10Mobile(_MemoryInfra): |
| """Measure foreground/background memory on top 10 mobile page set. |