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.
6 from measurements
import task_execution_time
7 from telemetry
import benchmark
10 @benchmark.Enabled('android')
11 class TaskExecutionTimeKeyMobileSites(benchmark
.Benchmark
):
12 """Measures task execution statistics while scrolling down key mobile sites.
13 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
14 test
= task_execution_time
.TaskExecutionTime
15 page_set
= page_sets
.KeyMobileSitesSmoothPageSet
18 @benchmark.Enabled('android')
19 class TaskExecutionTimeToughSchedulingCases(benchmark
.Benchmark
):
20 """Measures task execution statistics while scrolling tough scheduling sites.
21 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
22 test
= task_execution_time
.TaskExecutionTime
23 page_set
= page_sets
.ToughSchedulingCasesPageSet