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
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
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
29 test
= draw_properties
.DrawProperties
30 page_set
= page_sets
.Top25SmoothPageSet
34 return 'draw_properties.top_25'