Upstream version 11.40.271.0
[platform/framework/web/crosswalk.git] / src / tools / perf / benchmarks / task_execution_time.py
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.
4
5 import page_sets
6 from measurements import task_execution_time
7 from telemetry import benchmark
8
9
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.KeyMobileSitesPageSet
16
17
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