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

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

Issue 1663053006: perf: Add a power benchmark for pages with heavy ads (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unbreak cnn URL. Created 4 years, 10 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/smoothness.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/power.py
diff --git a/tools/perf/benchmarks/power.py b/tools/perf/benchmarks/power.py
index 1974cadad023ace75cbb5712c4b0676817e0418e..aa93e267d6f80307ae032e74de7572a2d7a52ca6 100644
--- a/tools/perf/benchmarks/power.py
+++ b/tools/perf/benchmarks/power.py
@@ -39,6 +39,20 @@ class PowerTypical10Mobile(perf_benchmark.PerfBenchmark):
@benchmark.Enabled('android')
+class PowerToughAdCases(perf_benchmark.PerfBenchmark):
+ """Android power test with tough ad pages."""
+ test = power.Power
+ page_set = page_sets.ToughAdCasesPageSet
+
+ def SetExtraBrowserOptions(self, options):
+ options.full_performance_mode = False
+
+ @classmethod
+ def Name(cls):
+ return 'power.tough_ad_cases'
+
+
+@benchmark.Enabled('android')
@benchmark.Disabled('all')
class PowerTypical10MobileReload(perf_benchmark.PerfBenchmark):
"""Android typical 10 mobile power reload test."""
« no previous file with comments | « no previous file | tools/perf/benchmarks/smoothness.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698