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

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

Issue 1116493002: [Telemetry][Android] Add power gpu rasterization test for typical_10_mobile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/power.py
diff --git a/tools/perf/benchmarks/power.py b/tools/perf/benchmarks/power.py
index d31403f54f05a234a8bc63ff994c77479c2d1d04..0c44d85e86d8ed87eaf4e4511896bdbb34e0fae6 100644
--- a/tools/perf/benchmarks/power.py
+++ b/tools/perf/benchmarks/power.py
@@ -4,6 +4,7 @@
from telemetry import benchmark
+from benchmarks import silk_flags
from measurements import power
import page_sets
@@ -27,6 +28,19 @@ class PowerTypical10Mobile(benchmark.Benchmark):
def Name(cls):
return 'power.typical_10_mobile'
+@benchmark.Enabled('android')
+class PowerGpuRasterizationTypical10Mobile(benchmark.Benchmark):
+ """Measures power on key mobile sites with GPU rasterization."""
+ tag = 'gpu_rasterization'
+ test = power.Power
+ page_set = page_sets.Typical10MobilePageSet
+
+ def CustomizeBrowserOptions(self, options):
+ silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
+
+ @classmethod
+ def Name(cls):
+ return 'power.gpu_rasterization.typical_10_mobile'
@benchmark.Enabled('mac')
class PowerTop10(benchmark.Benchmark):
« 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