Roll src/third_party/WebKit f36d5e0:68b67cd (svn 193299:193303)
[chromium-blink-merge.git] / tools / perf / benchmarks / draw_properties.py
blobae7fee5f15b6ac85effaac4c0ee0827b4653a6a9
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 telemetry import benchmark
7 from measurements import draw_properties
8 import page_sets
11 # This benchmark depends on tracing categories available in M43
12 @benchmark.Disabled('reference','win') # http://crbug.com/463111
13 class DrawPropertiesToughScrolling(benchmark.Benchmark):
14 test = draw_properties.DrawProperties
15 page_set = page_sets.ToughScrollingCasesPageSet
16 @classmethod
17 def Name(cls):
18 return 'draw_properties.tough_scrolling'
21 # This benchmark depends on tracing categories available in M43
22 @benchmark.Disabled('reference','win') # http://crbug.com/463111
23 class DrawPropertiesTop25(benchmark.Benchmark):
24 """Measures the relative performance of CalcDrawProperties vs computing draw
25 properties from property trees.
27 http://www.chromium.org/developers/design-documents/rendering-benchmarks
28 """
29 test = draw_properties.DrawProperties
30 page_set = page_sets.Top25SmoothPageSet
32 @classmethod
33 def Name(cls):
34 return 'draw_properties.top_25'