OLD | NEW |
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 |
5 from benchmarks import silk_flags | 5 from benchmarks import silk_flags |
6 from measurements import thread_times | 6 from measurements import thread_times |
7 import page_sets | 7 import page_sets |
8 from telemetry import benchmark | 8 from telemetry import benchmark |
9 | 9 |
10 class _ThreadTimes(benchmark.Benchmark): | 10 class _ThreadTimes(benchmark.Benchmark): |
(...skipping 29 matching lines...) Expand all Loading... |
40 @classmethod | 40 @classmethod |
41 def Name(cls): | 41 def Name(cls): |
42 return 'thread_times.key_hit_test_cases' | 42 return 'thread_times.key_hit_test_cases' |
43 | 43 |
44 @benchmark.Enabled('android') | 44 @benchmark.Enabled('android') |
45 class ThreadTimesFastPathMobileSites(_ThreadTimes): | 45 class ThreadTimesFastPathMobileSites(_ThreadTimes): |
46 """Measures timeline metrics while performing smoothness action on | 46 """Measures timeline metrics while performing smoothness action on |
47 key mobile sites labeled with fast-path tag. | 47 key mobile sites labeled with fast-path tag. |
48 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 48 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
49 page_set = page_sets.KeyMobileSitesSmoothPageSet | 49 page_set = page_sets.KeyMobileSitesSmoothPageSet |
50 options = {'page_label_filter' : 'fastpath'} | 50 options = {'story_label_filter' : 'fastpath'} |
51 | 51 |
52 @classmethod | 52 @classmethod |
53 def Name(cls): | 53 def Name(cls): |
54 return 'thread_times.key_mobile_sites_smooth' | 54 return 'thread_times.key_mobile_sites_smooth' |
55 | 55 |
56 | 56 |
57 @benchmark.Enabled('android') | 57 @benchmark.Enabled('android') |
58 class ThreadTimesSimpleMobileSites(_ThreadTimes): | 58 class ThreadTimesSimpleMobileSites(_ThreadTimes): |
59 """Measures timeline metric using smoothness action on simple mobile sites | 59 """Measures timeline metric using smoothness action on simple mobile sites |
60 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 60 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
(...skipping 20 matching lines...) Expand all Loading... |
81 | 81 |
82 @benchmark.Enabled('android') | 82 @benchmark.Enabled('android') |
83 class ThreadTimesPolymer(_ThreadTimes): | 83 class ThreadTimesPolymer(_ThreadTimes): |
84 """Measures timeline metrics while performing smoothness action on | 84 """Measures timeline metrics while performing smoothness action on |
85 Polymer cases.""" | 85 Polymer cases.""" |
86 page_set = page_sets.PolymerPageSet | 86 page_set = page_sets.PolymerPageSet |
87 @classmethod | 87 @classmethod |
88 def Name(cls): | 88 def Name(cls): |
89 return 'thread_times.polymer' | 89 return 'thread_times.polymer' |
90 | 90 |
OLD | NEW |