Sort the imports of files in perf/benchmarks.
[chromium-blink-merge.git] / tools / perf / benchmarks / draw_properties.py
blob984df12f67e8180a0cb726e435f535f10670466e
1 # Copyright 2015 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.
5 from core import perf_benchmark
7 from measurements import draw_properties
8 import page_sets
9 from telemetry import benchmark
12 # This benchmark depends on tracing categories available in M43
13 # This benchmark is still useful for manual testing, but need not be enabled
14 # and run regularly.
15 @benchmark.Disabled()
16 class DrawPropertiesToughScrolling(perf_benchmark.PerfBenchmark):
17 test = draw_properties.DrawProperties
18 page_set = page_sets.ToughScrollingCasesPageSet
19 @classmethod
20 def Name(cls):
21 return 'draw_properties.tough_scrolling'
24 # This benchmark depends on tracing categories available in M43
25 # This benchmark is still useful for manual testing, but need not be enabled
26 # and run regularly.
27 @benchmark.Disabled()
28 class DrawPropertiesTop25(perf_benchmark.PerfBenchmark):
29 """Measures the performance of computing draw properties from property trees.
31 http://www.chromium.org/developers/design-documents/rendering-benchmarks
32 """
33 test = draw_properties.DrawProperties
34 page_set = page_sets.Top25SmoothPageSet
36 @classmethod
37 def Name(cls):
38 return 'draw_properties.top_25'