Roll src/third_party/WebKit f36d5e0:68b67cd (svn 193299:193303)
[chromium-blink-merge.git] / tools / perf / benchmarks / power.py
blob9cbda5384e5990468be2e9e0110b270c5c3ec31b
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 from telemetry import benchmark
7 from measurements import power
8 import page_sets
11 @benchmark.Enabled('android')
12 class PowerAndroidAcceptance(benchmark.Benchmark):
13 """Android power acceptance test."""
14 test = power.Power
15 page_set = page_sets.AndroidAcceptancePageSet
16 @classmethod
17 def Name(cls):
18 return 'power.android_acceptance'
22 @benchmark.Enabled('android')
23 class PowerTypical10Mobile(benchmark.Benchmark):
24 """Android typical 10 mobile power test."""
25 test = power.Power
26 page_set = page_sets.Typical10MobilePageSet
27 @classmethod
28 def Name(cls):
29 return 'power.typical_10_mobile'