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

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

Issue 2338343002: [system health] Compute power and clock sync latency metrics (Closed)
Patch Set: Synced to head Created 4 years, 2 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 | tools/perf/benchmarks/system_health.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/battor.py
diff --git a/tools/perf/benchmarks/battor.py b/tools/perf/benchmarks/battor.py
index a995dedfe5eaf3e24cda8bbe7d488fca8fd3d671..aeb863c83d6344f5636e604d32d5ed0319b2d1c5 100644
--- a/tools/perf/benchmarks/battor.py
+++ b/tools/perf/benchmarks/battor.py
@@ -59,47 +59,6 @@ class BattOrToughVideoCases(_BattOrBenchmark):
return 'battor.tough_video_cases'
-# TODO(rnephew): Add a version that scrolls.
-class BattOrSystemHealthLoadingDesktop(_BattOrBenchmark):
- """Desktop Chrome Memory System Health Benchmark."""
-
- def CreateStorySet(self, options):
- return page_sets.SystemHealthStorySet(platform='desktop', case='load')
-
- @classmethod
- def ShouldDisable(cls, possible_browser):
- return (
- super(BattOrSystemHealthLoadingDesktop, cls).ShouldDisable(
- possible_browser) or
- possible_browser.platform.GetDeviceTypeName() != 'Desktop')
-
- @classmethod
- def Name(cls):
- return 'battor.system_health_loading_desktop'
-
-
-class BattOrSystemHealthLoadingMobile(_BattOrBenchmark):
- """Mobile Chrome Memory System Health Benchmark."""
-
- def CreateStorySet(self, options):
- return page_sets.SystemHealthStorySet(platform='mobile', case='load')
-
- @classmethod
- def ShouldDisable(cls, possible_browser):
- if possible_browser.platform.GetDeviceTypeName() == 'Desktop':
- return True
- if (possible_browser.browser_type == 'reference' and
- possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X'):
- return True
-
- return super(BattOrSystemHealthLoadingMobile, cls).ShouldDisable(
- possible_browser)
-
- @classmethod
- def Name(cls):
- return 'battor.system_health_loading_mobile'
-
-
class BattOrPowerCases(_BattOrBenchmark):
page_set = page_sets.power_cases.PowerCasesPageSet
« no previous file with comments | « no previous file | tools/perf/benchmarks/system_health.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698