| 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 core import perf_benchmark | 7 from core import perf_benchmark |
| 6 | |
| 7 from benchmarks import silk_flags | 8 from benchmarks import silk_flags |
| 8 from measurements import smoothness | 9 from measurements import smoothness |
| 9 import page_sets | 10 import page_sets |
| 10 import page_sets.key_silk_cases | 11 import page_sets.key_silk_cases |
| 11 from telemetry import benchmark | |
| 12 | 12 |
| 13 | 13 |
| 14 class SmoothnessTop25(perf_benchmark.PerfBenchmark): | 14 class SmoothnessTop25(perf_benchmark.PerfBenchmark): |
| 15 """Measures rendering statistics while scrolling down the top 25 web pages. | 15 """Measures rendering statistics while scrolling down the top 25 web pages. |
| 16 | 16 |
| 17 http://www.chromium.org/developers/design-documents/rendering-benchmarks | 17 http://www.chromium.org/developers/design-documents/rendering-benchmarks |
| 18 """ | 18 """ |
| 19 test = smoothness.Smoothness | 19 test = smoothness.Smoothness |
| 20 page_set = page_sets.Top25SmoothPageSet | 20 page_set = page_sets.Top25SmoothPageSet |
| 21 | 21 |
| (...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 | 399 |
| 400 @benchmark.Disabled('reference') # http://crbug.com/496684 | 400 @benchmark.Disabled('reference') # http://crbug.com/496684 |
| 401 class SmoothnessToughAdCases(perf_benchmark.PerfBenchmark): | 401 class SmoothnessToughAdCases(perf_benchmark.PerfBenchmark): |
| 402 """Measures rendering statistics while displaying advertisements.""" | 402 """Measures rendering statistics while displaying advertisements.""" |
| 403 test = smoothness.Smoothness | 403 test = smoothness.Smoothness |
| 404 page_set = page_sets.ToughAdCasesPageSet | 404 page_set = page_sets.ToughAdCasesPageSet |
| 405 | 405 |
| 406 @classmethod | 406 @classmethod |
| 407 def Name(cls): | 407 def Name(cls): |
| 408 return 'smoothness.tough_ad_cases' | 408 return 'smoothness.tough_ad_cases' |
| OLD | NEW |