Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1235)

Unified Diff: tools/perf/benchmarks/memory.py

Issue 2745103003: Add new trivial sites memory benchmark. (Closed)
Patch Set: Add owner. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « testing/buildbot/chromium.perf.fyi.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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):
« no previous file with comments | « testing/buildbot/chromium.perf.fyi.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698