| 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 core import perf_benchmark | 5 from core import perf_benchmark |
| 6 | 6 |
| 7 from benchmarks import silk_flags | 7 from benchmarks import silk_flags |
| 8 from measurements import smoothness | 8 from measurements import smoothness |
| 9 import page_sets | 9 import page_sets |
| 10 import page_sets.key_silk_cases | 10 import page_sets.key_silk_cases |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 # As the fling parameters cannot be analytically determined to not | 243 # As the fling parameters cannot be analytically determined to not |
| 244 # overscroll, disable overscrolling explicitly. Overscroll behavior is | 244 # overscroll, disable overscrolling explicitly. Overscroll behavior is |
| 245 # orthogonal to fling performance, and its activation is only more noise. | 245 # orthogonal to fling performance, and its activation is only more noise. |
| 246 options.AppendExtraBrowserArgs('--disable-overscroll-edge-effect') | 246 options.AppendExtraBrowserArgs('--disable-overscroll-edge-effect') |
| 247 | 247 |
| 248 @classmethod | 248 @classmethod |
| 249 def Name(cls): | 249 def Name(cls): |
| 250 return 'smoothness.fling.simple_mobile_sites' | 250 return 'smoothness.fling.simple_mobile_sites' |
| 251 | 251 |
| 252 | 252 |
| 253 @benchmark.Enabled('android', 'chromeos') | 253 @benchmark.Enabled('android', 'chromeos', 'mac') |
| 254 class SmoothnessToughPinchZoomCases(perf_benchmark.PerfBenchmark): | 254 class SmoothnessToughPinchZoomCases(perf_benchmark.PerfBenchmark): |
| 255 """Measures rendering statistics for pinch-zooming into the tough pinch zoom | 255 """Measures rendering statistics for pinch-zooming into the tough pinch zoom |
| 256 cases. | 256 cases. |
| 257 """ | 257 """ |
| 258 test = smoothness.Smoothness | 258 test = smoothness.Smoothness |
| 259 page_set = page_sets.ToughPinchZoomCasesPageSet | 259 page_set = page_sets.ToughPinchZoomCasesPageSet |
| 260 | 260 |
| 261 @classmethod | 261 @classmethod |
| 262 def Name(cls): | 262 def Name(cls): |
| 263 return 'smoothness.tough_pinch_zoom_cases' | 263 return 'smoothness.tough_pinch_zoom_cases' |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 | 428 |
| 429 @benchmark.Disabled('reference') # http://crbug.com/496684 | 429 @benchmark.Disabled('reference') # http://crbug.com/496684 |
| 430 class SmoothnessToughWebGLAdCases(perf_benchmark.PerfBenchmark): | 430 class SmoothnessToughWebGLAdCases(perf_benchmark.PerfBenchmark): |
| 431 """Measures rendering statistics while scrolling advertisements.""" | 431 """Measures rendering statistics while scrolling advertisements.""" |
| 432 test = smoothness.Smoothness | 432 test = smoothness.Smoothness |
| 433 page_set = page_sets.ToughWebglAdCasesPageSet | 433 page_set = page_sets.ToughWebglAdCasesPageSet |
| 434 | 434 |
| 435 @classmethod | 435 @classmethod |
| 436 def Name(cls): | 436 def Name(cls): |
| 437 return 'smoothness.tough_webgl_ad_cases' | 437 return 'smoothness.tough_webgl_ad_cases' |
| OLD | NEW |