| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 telemetry import benchmark | 5 from telemetry import benchmark |
| 6 | 6 |
| 7 from benchmarks import silk_flags | 7 from benchmarks import silk_flags |
| 8 from benchmarks import webgl_expectations | 8 from benchmarks import webgl_expectations |
| 9 from measurements import smoothness | 9 from measurements import smoothness |
| 10 import page_sets | 10 import page_sets |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 http://www.chromium.org/developers/design-documents/rendering-benchmarks | 95 http://www.chromium.org/developers/design-documents/rendering-benchmarks |
| 96 """ | 96 """ |
| 97 test = smoothness.Smoothness | 97 test = smoothness.Smoothness |
| 98 page_set = page_sets.KeyMobileSitesSmoothPageSet | 98 page_set = page_sets.KeyMobileSitesSmoothPageSet |
| 99 | 99 |
| 100 @classmethod | 100 @classmethod |
| 101 def Name(cls): | 101 def Name(cls): |
| 102 return 'smoothness.key_mobile_sites_smooth' | 102 return 'smoothness.key_mobile_sites_smooth' |
| 103 | 103 |
| 104 | 104 |
| 105 @benchmark.Disabled('mac', 'win', 'android') |
| 106 class SmoothnessKeyMobileSitesWithSlimmingPaint(benchmark.Benchmark): |
| 107 """Measures smoothness on key mobile sites with --enable-slimming-paint. |
| 108 |
| 109 http://www.chromium.org/developers/design-documents/rendering-benchmarks |
| 110 """ |
| 111 test = smoothness.Smoothness |
| 112 page_set = page_sets.KeyMobileSitesSmoothPageSet |
| 113 |
| 114 def CustomizeBrowserOptions(self, options): |
| 115 options.AppendExtraBrowserArgs(['--enable-slimming-paint']) |
| 116 |
| 117 @classmethod |
| 118 def Name(cls): |
| 119 return 'smoothness.key_mobile_sites_with_slimming_paint_smooth' |
| 120 |
| 121 |
| 105 class SmoothnessToughAnimationCases(benchmark.Benchmark): | 122 class SmoothnessToughAnimationCases(benchmark.Benchmark): |
| 106 test = smoothness.Smoothness | 123 test = smoothness.Smoothness |
| 107 page_set = page_sets.ToughAnimationCasesPageSet | 124 page_set = page_sets.ToughAnimationCasesPageSet |
| 108 | 125 |
| 109 @classmethod | 126 @classmethod |
| 110 def Name(cls): | 127 def Name(cls): |
| 111 return 'smoothness.tough_animation_cases' | 128 return 'smoothness.tough_animation_cases' |
| 112 | 129 |
| 113 | 130 |
| 114 @benchmark.Enabled('android') | 131 @benchmark.Enabled('android') |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 return 'smoothness.sync_scroll.pathological_mobile_sites' | 343 return 'smoothness.sync_scroll.pathological_mobile_sites' |
| 327 | 344 |
| 328 | 345 |
| 329 class SmoothnessToughAnimatedImageCases(benchmark.Benchmark): | 346 class SmoothnessToughAnimatedImageCases(benchmark.Benchmark): |
| 330 test = smoothness.Smoothness | 347 test = smoothness.Smoothness |
| 331 page_set = page_sets.ToughAnimatedImageCasesPageSet | 348 page_set = page_sets.ToughAnimatedImageCasesPageSet |
| 332 | 349 |
| 333 @classmethod | 350 @classmethod |
| 334 def Name(cls): | 351 def Name(cls): |
| 335 return 'smoothness.tough_animated_image_cases' | 352 return 'smoothness.tough_animated_image_cases' |
| OLD | NEW |