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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 | 45 |
46 class ThreadTimesSimpleMobileSites(benchmark.Benchmark): | 46 class ThreadTimesSimpleMobileSites(benchmark.Benchmark): |
47 """Measures timeline metric using smoothness action on simple mobile sites | 47 """Measures timeline metric using smoothness action on simple mobile sites |
48 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 48 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
49 test = thread_times.ThreadTimes | 49 test = thread_times.ThreadTimes |
50 page_set = page_sets.SimpleMobileSitesPageSet | 50 page_set = page_sets.SimpleMobileSitesPageSet |
51 | 51 |
52 | 52 |
53 class ThreadTimesCompositorCases(benchmark.Benchmark): | 53 class ThreadTimesCompositorCases(benchmark.Benchmark): |
54 """Measures timeline metrics while performing smoothness action on | 54 """Measures timeline metrics while performing smoothness action on |
55 tough compositor cases. | 55 tough compositor cases, using software rasterization. |
| 56 |
56 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 57 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
57 test = thread_times.ThreadTimes | 58 test = thread_times.ThreadTimes |
58 page_set = page_sets.ToughCompositorCasesPageSet | 59 page_set = page_sets.ToughCompositorCasesPageSet |
59 | 60 def CustomizeBrowserOptions(self, options): |
| 61 silk_flags.CustomizeBrowserOptionsForSoftwareRasterization(options) |
60 | 62 |
61 @benchmark.Enabled('android') | 63 @benchmark.Enabled('android') |
62 class ThreadTimesPolymer(benchmark.Benchmark): | 64 class ThreadTimesPolymer(benchmark.Benchmark): |
63 """Measures timeline metrics while performing smoothness action on | 65 """Measures timeline metrics while performing smoothness action on |
64 Polymer cases.""" | 66 Polymer cases.""" |
65 test = thread_times.ThreadTimes | 67 test = thread_times.ThreadTimes |
66 page_set = page_sets.PolymerPageSet | 68 page_set = page_sets.PolymerPageSet |
67 options = { 'report_silk_results': True } | 69 options = { 'report_silk_results': True } |
OLD | NEW |