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
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
16 class DrawPropertiesToughScrolling(perf_benchmark
.PerfBenchmark
):
17 test
= draw_properties
.DrawProperties
18 page_set
= page_sets
.ToughScrollingCasesPageSet
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
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
33 test
= draw_properties
.DrawProperties
34 page_set
= page_sets
.Top25SmoothPageSet
38 return 'draw_properties.top_25'