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

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

Issue 2115393003: [tools/perf] Add memory.top_10_mobile_stress benchmark (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove decorator Created 4 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/memory_infra.py
diff --git a/tools/perf/benchmarks/memory_infra.py b/tools/perf/benchmarks/memory_infra.py
index 1c0b6f0e7c1724350e56d867a83dbeda49dc2822..c72a7083f94f6cdf730081d89dda8a9a7c277ab0 100644
--- a/tools/perf/benchmarks/memory_infra.py
+++ b/tools/perf/benchmarks/memory_infra.py
@@ -74,6 +74,21 @@ class MemoryBenchmarkTop10Mobile(_MemoryInfra):
return not _IGNORED_STATS_RE.search(value.name)
+class MemoryBenchmarkTop10MobileStress(MemoryBenchmarkTop10Mobile):
+ """Run top 10 mobile page set without closing/restarting the browser.
+
+ This benchmark is intended to stress-test the browser, catching memory leaks
+ or possible crashes after interacting with the browser for a period of time.
+ """
+ @classmethod
+ def Name(cls):
+ return 'memory.top_10_mobile_stress'
+
+ @classmethod
+ def ShouldTearDownStateAfterEachStorySetRun(cls):
+ return False
+
+
# Benchmark disabled by default. Force to run with --also-run-disabled-tests.
@benchmark.Disabled('all')
class DualBrowserBenchmark(_MemoryInfra):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698