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 3 # found in the LICENSE file. 4 5 import sys 6 7 from telemetry import test 8 9 from measurements import smoothness 10 11 12 class SmoothnessTop25(test.Test): 13 """Measures rendering statistics while scrolling down the top 25 web pages. 14 15 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 16 test = smoothness.Smoothness 17 page_set = 'page_sets/top_25.json' 18 19 20 class SmoothnessToughCanvasCases(test.Test): 21 test = smoothness.Smoothness 22 enabled = sys.platform != 'darwin' 23 page_set = 'page_sets/tough_canvas_cases.json' 24 25 26 class SmoothnessKeyMobileSites(test.Test): 27 """Measures rendering statistics while scrolling down the key mobile sites. 28 29 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 30 test = smoothness.Smoothness 31 page_set = 'page_sets/key_mobile_sites.json' 32 33 34 class SmoothnessToughSchedulingCases(test.Test): 35 """Measures rendering statistics while interacting with pages that have 36 challenging scheduling properties. 37 38 https://docs.google.com/a/chromium.org/document/d/ 39 17yhE5Po9By0sCdM1yZT3LiUECaUr_94rQt9j-4tOQIM/view""" 40 test = smoothness.Smoothness 41 page_set = 'page_sets/tough_scheduling_cases.json' 42