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

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

Issue 2144073004: [system-health] Unify SH stories interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: tools/perf/benchmarks/battor.py
diff --git a/tools/perf/benchmarks/battor.py b/tools/perf/benchmarks/battor.py
index 73d8ae301781d60a0ccb79e9b2cc6cb093a1c9b2..b73963d425cbc062aa03d74c75f59ddf1987b332 100644
--- a/tools/perf/benchmarks/battor.py
+++ b/tools/perf/benchmarks/battor.py
@@ -55,7 +55,8 @@ class BattOrSystemHealthLoadingDesktop(_BattOrBenchmark):
"""Desktop Chrome Memory System Health Benchmark."""
def CreateStorySet(self, options):
- return page_sets.DesktopSystemHealthStorySet(take_memory_measurement=False)
+ return page_sets.SystemHealthStorySet(platform='desktop',
+ story_name_regex=r'load:.*')
@classmethod
def ShouldDisable(cls, possible_browser):
@@ -71,7 +72,8 @@ class BattOrSystemHealthLoadingMobile(_BattOrBenchmark):
"""Mobile Chrome Memory System Health Benchmark."""
def CreateStorySet(self, options):
- return page_sets.MobileSystemHealthStorySet(take_memory_measurement=False)
+ return page_sets.SystemHealthStorySet(platform='mobile',
+ story_name_regex=r'load:.*')
@classmethod
def ShouldDisable(cls, possible_browser):
« no previous file with comments | « no previous file | tools/perf/benchmarks/system_health.py » ('j') | tools/perf/page_sets/system_health/system_health_stories.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698