Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(617)

Side by Side Diff: tools/perf/benchmarks/task_execution_time.py

Issue 871913004: New page set added to include pathologically bad and janky sites. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
picksi1 2015/01/23 14:43:46 gpylint suggested these imports should be re-order
5 from measurements import task_execution_time
5 import page_sets 6 import page_sets
6 from measurements import task_execution_time
7 from telemetry import benchmark 7 from telemetry import benchmark
8 8
9 9
10 @benchmark.Enabled('android') 10 @benchmark.Enabled('android')
11 class TaskExecutionTimeKeyMobileSites(benchmark.Benchmark): 11 class TaskExecutionTimeKeyMobileSites(benchmark.Benchmark):
12
picksi1 2015/01/23 14:43:46 gpylint wants blanks lines after the class definit
12 """Measures task execution statistics while scrolling down key mobile sites. 13 """Measures task execution statistics while scrolling down key mobile sites.
13 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 14
15 http://www.chromium.org/developers/design-documents/rendering-benchmarks
16 """
17
14 test = task_execution_time.TaskExecutionTime 18 test = task_execution_time.TaskExecutionTime
15 page_set = page_sets.KeyMobileSitesSmoothPageSet 19 page_set = page_sets.KeyMobileSitesSmoothPageSet
16 20
17 @classmethod 21 @classmethod
18 def Name(cls): 22 def Name(cls):
19 return 'task_execution_time.key_mobile_sites_smooth' 23 return 'task_execution_time.key_mobile_sites_smooth'
20 24
21 25
22 @benchmark.Enabled('android') 26 @benchmark.Enabled('android')
23 class TaskExecutionTimeToughSchedulingCases(benchmark.Benchmark): 27 class TaskExecutionTimeToughSchedulingCases(benchmark.Benchmark):
28
24 """Measures task execution statistics while scrolling tough scheduling sites. 29 """Measures task execution statistics while scrolling tough scheduling sites.
25 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 30
31 http://www.chromium.org/developers/design-documents/rendering-benchmarks.
32 """
33
26 test = task_execution_time.TaskExecutionTime 34 test = task_execution_time.TaskExecutionTime
27 page_set = page_sets.ToughSchedulingCasesPageSet 35 page_set = page_sets.ToughSchedulingCasesPageSet
36
28 @classmethod 37 @classmethod
29 def Name(cls): 38 def Name(cls):
30 return 'task_execution_time.tough_scheduling_cases' 39 return 'task_execution_time.tough_scheduling_cases'
31 40
41
42 @benchmark.Enabled('android')
43 class TaskExecutionTimePathologicalMobileSites(benchmark.Benchmark):
44
45 """Measures task execution statistics while scrolling pathological sites.
46
47 http://www.chromium.org/developers/design-documents/rendering-benchmarks.
48 """
49
50 test = task_execution_time.TaskExecutionTime
51 page_set = page_sets.PathologicalMobileSitesPageSet
52
53 @classmethod
54 def Name(cls):
55 return 'task_execution_time.pathological_mobile_sites'
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698