| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 |
| 5 import sys |
| 6 |
| 4 from telemetry import test | 7 from telemetry import test |
| 5 | 8 |
| 6 from measurements import smoothness | 9 from measurements import smoothness |
| 7 | 10 |
| 8 | 11 |
| 9 class SmoothnessTop25(test.Test): | 12 class SmoothnessTop25(test.Test): |
| 10 """Measures rendering statistics while scrolling down the top 25 web pages. | 13 """Measures rendering statistics while scrolling down the top 25 web pages. |
| 11 | 14 |
| 12 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 15 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 13 test = smoothness.Smoothness | 16 test = smoothness.Smoothness |
| 14 page_set = 'page_sets/top_25.json' | 17 page_set = 'page_sets/top_25.json' |
| 15 | 18 |
| 16 | 19 |
| 17 class SmoothnessToughCanvasCases(test.Test): | 20 class SmoothnessToughCanvasCases(test.Test): |
| 18 test = smoothness.Smoothness | 21 test = smoothness.Smoothness |
| 22 enabled = sys.platform != 'darwin' |
| 19 page_set = 'page_sets/tough_canvas_cases.json' | 23 page_set = 'page_sets/tough_canvas_cases.json' |
| 20 | 24 |
| 21 | 25 |
| 22 class SmoothnessKeyMobileSites(test.Test): | 26 class SmoothnessKeyMobileSites(test.Test): |
| 23 """Measures rendering statistics while scrolling down the key mobile sites. | 27 """Measures rendering statistics while scrolling down the key mobile sites. |
| 24 | 28 |
| 25 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 29 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 26 test = smoothness.Smoothness | 30 test = smoothness.Smoothness |
| 27 page_set = 'page_sets/key_mobile_sites.json' | 31 page_set = 'page_sets/key_mobile_sites.json' |
| OLD | NEW |