OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import page_sets | 5 import page_sets |
6 from measurements import task_execution_time | 6 from measurements import task_execution_time |
7 from telemetry import benchmark | 7 from telemetry import benchmark |
8 | 8 |
9 | 9 |
10 @benchmark.Enabled('android') | 10 @benchmark.Enabled('android') |
11 class TaskExecutionTimeKeyMobileSites(benchmark.Benchmark): | 11 class TaskExecutionTimeKeyMobileSites(benchmark.Benchmark): |
12 """Measures task execution statistics while scrolling down key mobile sites. | 12 """Measures task execution statistics while scrolling down key mobile sites. |
13 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 13 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
14 test = task_execution_time.TaskExecutionTime | 14 test = task_execution_time.TaskExecutionTime |
15 page_set = page_sets.KeyMobileSitesSmoothPageSet | 15 page_set = page_sets.KeyMobileSitesSmoothPageSet |
16 | 16 |
| 17 @classmethod |
| 18 def Name(cls): |
| 19 return 'task_execution_time.key_mobile_sites_smooth' |
| 20 |
17 | 21 |
18 @benchmark.Enabled('android') | 22 @benchmark.Enabled('android') |
19 class TaskExecutionTimeToughSchedulingCases(benchmark.Benchmark): | 23 class TaskExecutionTimeToughSchedulingCases(benchmark.Benchmark): |
20 """Measures task execution statistics while scrolling tough scheduling sites. | 24 """Measures task execution statistics while scrolling tough scheduling sites. |
21 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 25 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
22 test = task_execution_time.TaskExecutionTime | 26 test = task_execution_time.TaskExecutionTime |
23 page_set = page_sets.ToughSchedulingCasesPageSet | 27 page_set = page_sets.ToughSchedulingCasesPageSet |
| 28 @classmethod |
| 29 def Name(cls): |
| 30 return 'task_execution_time.tough_scheduling_cases' |
| 31 |
OLD | NEW |