Roll src/third_party/WebKit f36d5e0:68b67cd (svn 193299:193303)
[chromium-blink-merge.git] / tools / perf / benchmarks / task_execution_time.py
blob5bb38f2f2b08830f40f54ecacfeffd383ca9d5b1
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 task_execution_time
8 import page_sets
11 @benchmark.Enabled('android')
12 class TaskExecutionTimeKeyMobileSites(benchmark.Benchmark):
14 """Measures task execution statistics while scrolling down key mobile sites.
16 http://www.chromium.org/developers/design-documents/rendering-benchmarks
17 """
19 test = task_execution_time.TaskExecutionTime
20 page_set = page_sets.KeyMobileSitesSmoothPageSet
22 @classmethod
23 def Name(cls):
24 return 'task_execution_time.key_mobile_sites_smooth'
27 @benchmark.Enabled('android')
28 class TaskExecutionTimeToughSchedulingCases(benchmark.Benchmark):
30 """Measures task execution statistics while scrolling tough scheduling sites.
32 http://www.chromium.org/developers/design-documents/rendering-benchmarks.
33 """
35 test = task_execution_time.TaskExecutionTime
36 page_set = page_sets.ToughSchedulingCasesPageSet
38 @classmethod
39 def Name(cls):
40 return 'task_execution_time.tough_scheduling_cases'
43 @benchmark.Enabled('android')
44 class TaskExecutionTimePathologicalMobileSites(benchmark.Benchmark):
46 """Measures task execution statistics while scrolling pathological sites.
48 http://www.chromium.org/developers/design-documents/rendering-benchmarks.
49 """
51 test = task_execution_time.TaskExecutionTime
52 page_set = page_sets.PathologicalMobileSitesPageSet
54 @classmethod
55 def Name(cls):
56 return 'task_execution_time.pathological_mobile_sites'