OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 from telemetry import benchmark | 5 from telemetry import benchmark |
6 | 6 |
7 from measurements import blink_style | 7 from measurements import blink_style |
8 import page_sets | 8 import page_sets |
9 | 9 |
10 @benchmark.Disabled # http://crbug.com/479048 | |
11 class BlinkStyleTop25(benchmark.Benchmark): | 10 class BlinkStyleTop25(benchmark.Benchmark): |
12 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc, | 11 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc, |
13 etc.) on the top 25 pages. | 12 etc.) on the top 25 pages. |
14 """ | 13 """ |
15 test = blink_style.BlinkStyle | 14 test = blink_style.BlinkStyle |
16 page_set = page_sets.Top25PageSet | 15 page_set = page_sets.Top25PageSet |
17 | 16 |
18 @classmethod | 17 @classmethod |
19 def Name(cls): | 18 def Name(cls): |
20 return 'blink_style.top_25' | 19 return 'blink_style.top_25' |
21 | 20 |
22 | 21 |
23 @benchmark.Enabled('android') | 22 @benchmark.Enabled('android') |
24 class BlinkStyleKeyMobileSites(benchmark.Benchmark): | 23 class BlinkStyleKeyMobileSites(benchmark.Benchmark): |
25 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc, | 24 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc, |
26 etc.) on key mobile sites. | 25 etc.) on key mobile sites. |
27 """ | 26 """ |
28 test = blink_style.BlinkStyle | 27 test = blink_style.BlinkStyle |
29 page_set = page_sets.KeyMobileSitesPageSet | 28 page_set = page_sets.KeyMobileSitesPageSet |
30 | 29 |
31 @classmethod | 30 @classmethod |
32 def Name(cls): | 31 def Name(cls): |
33 return 'blink_style.key_mobile_sites' | 32 return 'blink_style.key_mobile_sites' |
34 | 33 |
35 | 34 |
36 @benchmark.Disabled('mac', 'reference') # http://crbug.com/479048 | 35 @benchmark.Enabled('android') |
37 class BlinkStylePolymer(benchmark.Benchmark): | 36 class BlinkStylePolymer(benchmark.Benchmark): |
38 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc, | 37 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc, |
39 etc.) for Polymer cases. | 38 etc.) for Polymer cases. |
40 """ | 39 """ |
41 test = blink_style.BlinkStyle | 40 test = blink_style.BlinkStyle |
42 page_set = page_sets.PolymerPageSet | 41 page_set = page_sets.PolymerPageSet |
43 | 42 |
44 @classmethod | 43 @classmethod |
45 def Name(cls): | 44 def Name(cls): |
46 return 'blink_style.polymer' | 45 return 'blink_style.polymer' |
OLD | NEW |