Commit 890b6874 authored by rnephew's avatar rnephew Committed by Commit bot

[Telemetry][Android] Add power gpu rasterization test for typical_10_mobile

BUG=482137

Review URL: https://codereview.chromium.org/1116493002

Cr-Commit-Position: refs/heads/master@{#327386}
parent 6ef57878
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
from telemetry import benchmark from telemetry import benchmark
from benchmarks import silk_flags
from measurements import power from measurements import power
import page_sets import page_sets
...@@ -27,6 +28,19 @@ class PowerTypical10Mobile(benchmark.Benchmark): ...@@ -27,6 +28,19 @@ class PowerTypical10Mobile(benchmark.Benchmark):
def Name(cls): def Name(cls):
return 'power.typical_10_mobile' 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') @benchmark.Enabled('mac')
class PowerTop10(benchmark.Benchmark): class PowerTop10(benchmark.Benchmark):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment