| 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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 page_set = page_sets.ToughPinchZoomCasesPageSet | 229 page_set = page_sets.ToughPinchZoomCasesPageSet |
| 230 | 230 |
| 231 @classmethod | 231 @classmethod |
| 232 def Name(cls): | 232 def Name(cls): |
| 233 return 'smoothness.tough_pinch_zoom_cases' | 233 return 'smoothness.tough_pinch_zoom_cases' |
| 234 | 234 |
| 235 def CreatePageTest(self, options): # pylint: disable=unused-argument | 235 def CreatePageTest(self, options): # pylint: disable=unused-argument |
| 236 return smoothness.Smoothness(enable_auto_issuing_marker=False) | 236 return smoothness.Smoothness(enable_auto_issuing_marker=False) |
| 237 | 237 |
| 238 | 238 |
| 239 @benchmark.Enabled('chromeos') | 239 @benchmark.Enabled('android', 'chromeos') |
| 240 class SmoothnessToughScrollingWhileZoomedInCases(benchmark.Benchmark): | 240 class SmoothnessToughScrollingWhileZoomedInCases(benchmark.Benchmark): |
| 241 """Measures rendering statistics for pinch-zooming then diagonal scrolling""" | 241 """Measures rendering statistics for pinch-zooming then diagonal scrolling""" |
| 242 page_set = page_sets.ToughScrollingWhileZoomedInCasesPageSet | 242 page_set = page_sets.ToughScrollingWhileZoomedInCasesPageSet |
| 243 | 243 |
| 244 @classmethod | 244 @classmethod |
| 245 def Name(cls): | 245 def Name(cls): |
| 246 return 'smoothness.tough_scrolling_while_zoomed_in_cases' | 246 return 'smoothness.tough_scrolling_while_zoomed_in_cases' |
| 247 | 247 |
| 248 def CreatePageTest(self, options): # pylint: disable=unused-argument | 248 def CreatePageTest(self, options): # pylint: disable=unused-argument |
| 249 return smoothness.Smoothness(enable_auto_issuing_marker=False) | 249 return smoothness.Smoothness(enable_auto_issuing_marker=False) |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 return smoothness.Smoothness(enable_auto_issuing_marker=False) | 355 return smoothness.Smoothness(enable_auto_issuing_marker=False) |
| 356 | 356 |
| 357 | 357 |
| 358 class SmoothnessToughAnimatedImageCases(benchmark.Benchmark): | 358 class SmoothnessToughAnimatedImageCases(benchmark.Benchmark): |
| 359 test = smoothness.Smoothness | 359 test = smoothness.Smoothness |
| 360 page_set = page_sets.ToughAnimatedImageCasesPageSet | 360 page_set = page_sets.ToughAnimatedImageCasesPageSet |
| 361 | 361 |
| 362 @classmethod | 362 @classmethod |
| 363 def Name(cls): | 363 def Name(cls): |
| 364 return 'smoothness.tough_animated_image_cases' | 364 return 'smoothness.tough_animated_image_cases' |
| OLD | NEW |