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