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 benchmarks import silk_flags | 5 from benchmarks import silk_flags |
6 from benchmarks import webgl_expectations | 6 from benchmarks import webgl_expectations |
7 from measurements import smoothness | 7 from measurements import smoothness |
8 import page_sets | 8 import page_sets |
9 from telemetry import benchmark | 9 from telemetry import benchmark |
10 | 10 |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 @benchmark.Enabled('android') | 258 @benchmark.Enabled('android') |
259 class SmoothnessPathologicalMobileSites(benchmark.Benchmark): | 259 class SmoothnessPathologicalMobileSites(benchmark.Benchmark): |
260 """Measures task execution statistics while scrolling pathological sites. | 260 """Measures task execution statistics while scrolling pathological sites. |
261 """ | 261 """ |
262 test = smoothness.Smoothness | 262 test = smoothness.Smoothness |
263 page_set = page_sets.PathologicalMobileSitesPageSet | 263 page_set = page_sets.PathologicalMobileSitesPageSet |
264 | 264 |
265 @classmethod | 265 @classmethod |
266 def Name(cls): | 266 def Name(cls): |
267 return 'smoothness.pathological_mobile_sites' | 267 return 'smoothness.pathological_mobile_sites' |
| 268 |
| 269 |
| 270 @benchmark.Enabled('android') |
| 271 class SmoothnessSyncScrollPathologicalMobileSites(benchmark.Benchmark): |
| 272 """Measures task execution statistics while sync-scrolling pathological sites. |
| 273 """ |
| 274 tag = 'sync_scroll' |
| 275 test = smoothness.Smoothness |
| 276 page_set = page_sets.PathologicalMobileSitesPageSet |
| 277 |
| 278 def CustomizeBrowserOptions(self, options): |
| 279 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options) |
| 280 |
| 281 @classmethod |
| 282 def Name(cls): |
| 283 return 'smoothness.sync_scroll.pathological_mobile_sites' |
OLD | NEW |