OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 from telemetry import benchmark |
| 6 |
| 7 from measurements import draw_properties |
| 8 import page_sets |
| 9 |
| 10 |
| 11 class DrawPropertiesToughScrolling(benchmark.Benchmark): |
| 12 test = draw_properties.DrawProperties |
| 13 page_set = page_sets.ToughScrollingCasesPageSet |
| 14 @classmethod |
| 15 def Name(cls): |
| 16 return 'draw_properties.tough_scrolling' |
| 17 |
| 18 class DrawPropertiesTop25(benchmark.Benchmark): |
| 19 """Measures the relative performance of CalcDrawProperties vs computing draw |
| 20 properties from property trees. |
| 21 |
| 22 http://www.chromium.org/developers/design-documents/rendering-benchmarks |
| 23 """ |
| 24 test = draw_properties.DrawProperties |
| 25 page_set = page_sets.Top25SmoothPageSet |
| 26 |
| 27 @classmethod |
| 28 def Name(cls): |
| 29 return 'draw_properties.top_25' |
OLD | NEW |