Chromium Code Reviews| Index: tools/perf/benchmarks/task_execution_time.py |
| diff --git a/tools/perf/benchmarks/task_execution_time.py b/tools/perf/benchmarks/task_execution_time.py |
| index 7fd2617ad7180fc3294b9ac29c7ddbdac59666a9..b8560647ca54b757b2e2a8d3ed9dcfe6c1cc4d51 100644 |
| --- a/tools/perf/benchmarks/task_execution_time.py |
| +++ b/tools/perf/benchmarks/task_execution_time.py |
| @@ -2,15 +2,19 @@ |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
|
picksi1
2015/01/23 14:43:46
gpylint suggested these imports should be re-order
|
| -import page_sets |
| from measurements import task_execution_time |
| +import page_sets |
| from telemetry import benchmark |
| @benchmark.Enabled('android') |
| class TaskExecutionTimeKeyMobileSites(benchmark.Benchmark): |
| + |
|
picksi1
2015/01/23 14:43:46
gpylint wants blanks lines after the class definit
|
| """Measures task execution statistics while scrolling down key mobile sites. |
| - http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| + |
| + http://www.chromium.org/developers/design-documents/rendering-benchmarks |
| + """ |
| + |
| test = task_execution_time.TaskExecutionTime |
| page_set = page_sets.KeyMobileSitesSmoothPageSet |
| @@ -21,11 +25,31 @@ class TaskExecutionTimeKeyMobileSites(benchmark.Benchmark): |
| @benchmark.Enabled('android') |
| class TaskExecutionTimeToughSchedulingCases(benchmark.Benchmark): |
| + |
| """Measures task execution statistics while scrolling tough scheduling sites. |
| - http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| + |
| + http://www.chromium.org/developers/design-documents/rendering-benchmarks. |
| + """ |
| + |
| test = task_execution_time.TaskExecutionTime |
| page_set = page_sets.ToughSchedulingCasesPageSet |
| + |
| @classmethod |
| def Name(cls): |
| return 'task_execution_time.tough_scheduling_cases' |
| + |
| +@benchmark.Enabled('android') |
| +class TaskExecutionTimePathologicalMobileSites(benchmark.Benchmark): |
| + |
| + """Measures task execution statistics while scrolling pathological sites. |
| + |
| + http://www.chromium.org/developers/design-documents/rendering-benchmarks. |
| + """ |
| + |
| + test = task_execution_time.TaskExecutionTime |
| + page_set = page_sets.PathologicalMobileSitesPageSet |
| + |
| + @classmethod |
| + def Name(cls): |
| + return 'task_execution_time.pathological_mobile_sites' |