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 from telemetry
import benchmark
12 # This benchmark depends on tracing categories available in M43
13 @benchmark.Disabled('reference')
14 class DrawPropertiesToughScrolling(perf_benchmark
.PerfBenchmark
):
15 test
= draw_properties
.DrawProperties
16 page_set
= page_sets
.ToughScrollingCasesPageSet
19 return 'draw_properties.tough_scrolling'
22 # This benchmark depends on tracing categories available in M43
23 @benchmark.Disabled('reference','win') # http://crbug.com/463111
24 class DrawPropertiesTop25(perf_benchmark
.PerfBenchmark
):
25 """Measures the performance of computing draw 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'