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

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: Restrict story selector 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..50ac01fe72f8f9fee30f163b9367581be5cb6382 100644
--- a/tools/perf/benchmarks/battor.py
+++ b/tools/perf/benchmarks/battor.py
@@ -55,7 +55,7 @@ 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', case='load')
@classmethod
def ShouldDisable(cls, possible_browser):
@@ -71,7 +71,7 @@ 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', case='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/data/memory_system_health_mobile.json » ('J')

Powered by Google App Engine
This is Rietveld 408576698