[Android WebViewShell] Add inclusion test for webview exposed stable interfaces.
[chromium-blink-merge.git] / tools / perf / benchmarks / task_execution_time.py
blobf6f86c75f2cfa628407e411f1bcbb1ed8ab4f7e8
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 core import perf_benchmark
7 from measurements import task_execution_time
8 import page_sets
9 from telemetry import benchmark
12 @benchmark.Enabled('android')
13 class TaskExecutionTimeKeyMobileSites(perf_benchmark.PerfBenchmark):
15 """Measures task execution statistics while scrolling down key mobile sites.
17 http://www.chromium.org/developers/design-documents/rendering-benchmarks
18 """
20 test = task_execution_time.TaskExecutionTime
21 page_set = page_sets.KeyMobileSitesSmoothPageSet
23 @classmethod
24 def Name(cls):
25 return 'task_execution_time.key_mobile_sites_smooth'
28 @benchmark.Enabled('android')
29 class TaskExecutionTimeToughSchedulingCases(perf_benchmark.PerfBenchmark):
31 """Measures task execution statistics while scrolling tough scheduling sites.
33 http://www.chromium.org/developers/design-documents/rendering-benchmarks.
34 """
36 test = task_execution_time.TaskExecutionTime
37 page_set = page_sets.ToughSchedulingCasesPageSet
39 @classmethod
40 def Name(cls):
41 return 'task_execution_time.tough_scheduling_cases'
44 @benchmark.Enabled('android')
45 class TaskExecutionTimePathologicalMobileSites(perf_benchmark.PerfBenchmark):
47 """Measures task execution statistics while scrolling pathological sites.
49 http://www.chromium.org/developers/design-documents/rendering-benchmarks.
50 """
52 test = task_execution_time.TaskExecutionTime
53 page_set = page_sets.PathologicalMobileSitesPageSet
55 @classmethod
56 def Name(cls):
57 return 'task_execution_time.pathological_mobile_sites'