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 | 10 |
(...skipping 25 matching lines...) Expand all Loading... |
36 | 36 |
37 | 37 |
38 class ThreadTimesFastPathMobileSites(benchmark.Benchmark): | 38 class ThreadTimesFastPathMobileSites(benchmark.Benchmark): |
39 """Measures timeline metrics while performing smoothness action on | 39 """Measures timeline metrics while performing smoothness action on |
40 key mobile sites labeled with fast-path tag. | 40 key mobile sites labeled with fast-path tag. |
41 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 41 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
42 test = thread_times.ThreadTimes | 42 test = thread_times.ThreadTimes |
43 page_set = page_sets.KeyMobileSitesPageSet | 43 page_set = page_sets.KeyMobileSitesPageSet |
44 options = {'page_label_filter' : 'fastpath'} | 44 options = {'page_label_filter' : 'fastpath'} |
45 | 45 |
| 46 class ThreadTimesSimpleMobileSites(benchmark.Benchmark): |
| 47 """Measures timeline metric using smoothness action on simple mobile sites |
| 48 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 49 test = thread_times.ThreadTimes |
| 50 page_set = page_sets.SimpleMobileSitesPageSet |
| 51 |
46 | 52 |
47 class ThreadTimesCompositorCases(benchmark.Benchmark): | 53 class ThreadTimesCompositorCases(benchmark.Benchmark): |
48 """Measures timeline metrics while performing smoothness action on | 54 """Measures timeline metrics while performing smoothness action on |
49 tough compositor cases. | 55 tough compositor cases. |
50 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 56 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
51 test = thread_times.ThreadTimes | 57 test = thread_times.ThreadTimes |
52 page_set = page_sets.ToughCompositorCasesPageSet | 58 page_set = page_sets.ToughCompositorCasesPageSet |
53 | 59 |
54 | 60 |
55 @benchmark.Enabled('android') | 61 @benchmark.Enabled('android') |
56 class ThreadTimesPolymer(benchmark.Benchmark): | 62 class ThreadTimesPolymer(benchmark.Benchmark): |
57 """Measures timeline metrics while performing smoothness action on | 63 """Measures timeline metrics while performing smoothness action on |
58 Polymer cases.""" | 64 Polymer cases.""" |
59 test = thread_times.ThreadTimes | 65 test = thread_times.ThreadTimes |
60 page_set = page_sets.PolymerPageSet | 66 page_set = page_sets.PolymerPageSet |
61 options = { 'report_silk_results': True } | 67 options = { 'report_silk_results': True } |
OLD | NEW |