| Index: tools/perf/benchmarks/draw_properties.py
|
| diff --git a/tools/perf/benchmarks/draw_properties.py b/tools/perf/benchmarks/draw_properties.py
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9ac9ff29b649491eb0e9b60d24259abffcb35850
|
| --- /dev/null
|
| +++ b/tools/perf/benchmarks/draw_properties.py
|
| @@ -0,0 +1,29 @@
|
| +# Copyright 2015 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +from telemetry import benchmark
|
| +
|
| +from measurements import draw_properties
|
| +import page_sets
|
| +
|
| +
|
| +class DrawPropertiesToughScrolling(benchmark.Benchmark):
|
| + test = draw_properties.DrawProperties
|
| + page_set = page_sets.ToughScrollingCasesPageSet
|
| + @classmethod
|
| + def Name(cls):
|
| + return 'draw_properties.tough_scrolling'
|
| +
|
| +class DrawPropertiesTop25(benchmark.Benchmark):
|
| + """Measures the relative performance of CalcDrawProperties vs computing draw
|
| + properties from property trees.
|
| +
|
| + http://www.chromium.org/developers/design-documents/rendering-benchmarks
|
| + """
|
| + test = draw_properties.DrawProperties
|
| + page_set = page_sets.Top25SmoothPageSet
|
| +
|
| + @classmethod
|
| + def Name(cls):
|
| + return 'draw_properties.top_25'
|
|
|