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 |
| 6 |
5 from benchmarks import silk_flags | 7 from benchmarks import silk_flags |
6 from benchmarks import webgl_expectations | 8 from benchmarks import webgl_expectations |
7 from measurements import smoothness | 9 from measurements import smoothness |
8 import page_sets | 10 import page_sets |
9 from telemetry import benchmark | |
10 | 11 |
11 | 12 |
12 class SmoothnessTop25(benchmark.Benchmark): | 13 class SmoothnessTop25(benchmark.Benchmark): |
13 """Measures rendering statistics while scrolling down the top 25 web pages. | 14 """Measures rendering statistics while scrolling down the top 25 web pages. |
14 | 15 |
15 http://www.chromium.org/developers/design-documents/rendering-benchmarks | 16 http://www.chromium.org/developers/design-documents/rendering-benchmarks |
16 """ | 17 """ |
17 test = smoothness.Smoothness | 18 test = smoothness.Smoothness |
18 page_set = page_sets.Top25SmoothPageSet | 19 page_set = page_sets.Top25SmoothPageSet |
19 | 20 |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 tag = 'sync_scroll' | 279 tag = 'sync_scroll' |
279 test = smoothness.Smoothness | 280 test = smoothness.Smoothness |
280 page_set = page_sets.PathologicalMobileSitesPageSet | 281 page_set = page_sets.PathologicalMobileSitesPageSet |
281 | 282 |
282 def CustomizeBrowserOptions(self, options): | 283 def CustomizeBrowserOptions(self, options): |
283 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options) | 284 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options) |
284 | 285 |
285 @classmethod | 286 @classmethod |
286 def Name(cls): | 287 def Name(cls): |
287 return 'smoothness.sync_scroll.pathological_mobile_sites' | 288 return 'smoothness.sync_scroll.pathological_mobile_sites' |
OLD | NEW |