| Index: tools/perf/benchmarks/memory.py
|
| diff --git a/tools/perf/benchmarks/memory.py b/tools/perf/benchmarks/memory.py
|
| index eb7baa01e041b41dba2bb25413bdba4779f1c588..3b0df041247a9c3642998a2950d67d706018864b 100644
|
| --- a/tools/perf/benchmarks/memory.py
|
| +++ b/tools/perf/benchmarks/memory.py
|
| @@ -51,6 +51,29 @@ class _MemoryInfra(perf_benchmark.PerfBenchmark):
|
| options.clear_sytem_cache_for_browser_and_profile_on_start = True
|
|
|
|
|
| +@benchmark.Enabled('mac')
|
| +@benchmark.Enabled('win')
|
| +@benchmark.Owner(emails=['erikchen@chromium.org'])
|
| +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
|
| @benchmark.Owner(emails=['perezju@chromium.org'])
|
| class MemoryBenchmarkTop10Mobile(_MemoryInfra):
|
|
|