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 | 10 @benchmark.Disabled('reference') # http://crbug.com/479048 |
11 class BlinkStyleTop25(benchmark.Benchmark): | 11 class BlinkStyleTop25(benchmark.Benchmark): |
12 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc, | 12 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc, |
13 etc.) on the top 25 pages. | 13 etc.) on the top 25 pages. |
14 """ | 14 """ |
15 test = blink_style.BlinkStyle | 15 test = blink_style.BlinkStyle |
16 page_set = page_sets.Top25PageSet | 16 page_set = page_sets.Top25PageSet |
17 | 17 |
18 @classmethod | 18 @classmethod |
19 def Name(cls): | 19 def Name(cls): |
20 return 'blink_style.top_25' | 20 return 'blink_style.top_25' |
21 | 21 |
22 | 22 |
| 23 @benchmark.Disabled('reference') # http://crbug.com/479048 |
23 @benchmark.Enabled('android') | 24 @benchmark.Enabled('android') |
24 class BlinkStyleKeyMobileSites(benchmark.Benchmark): | 25 class BlinkStyleKeyMobileSites(benchmark.Benchmark): |
25 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc, | 26 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc, |
26 etc.) on key mobile sites. | 27 etc.) on key mobile sites. |
27 """ | 28 """ |
28 test = blink_style.BlinkStyle | 29 test = blink_style.BlinkStyle |
29 page_set = page_sets.KeyMobileSitesPageSet | 30 page_set = page_sets.KeyMobileSitesPageSet |
30 | 31 |
31 @classmethod | 32 @classmethod |
32 def Name(cls): | 33 def Name(cls): |
33 return 'blink_style.key_mobile_sites' | 34 return 'blink_style.key_mobile_sites' |
34 | 35 |
35 | 36 |
36 @benchmark.Disabled('mac', 'reference') # http://crbug.com/479048 | 37 @benchmark.Disabled('reference') # http://crbug.com/479048 |
| 38 @benchmark.Enabled('android') |
37 class BlinkStylePolymer(benchmark.Benchmark): | 39 class BlinkStylePolymer(benchmark.Benchmark): |
38 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc, | 40 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc, |
39 etc.) for Polymer cases. | 41 etc.) for Polymer cases. |
40 """ | 42 """ |
41 test = blink_style.BlinkStyle | 43 test = blink_style.BlinkStyle |
42 page_set = page_sets.PolymerPageSet | 44 page_set = page_sets.PolymerPageSet |
43 | 45 |
44 @classmethod | 46 @classmethod |
45 def Name(cls): | 47 def Name(cls): |
46 return 'blink_style.polymer' | 48 return 'blink_style.polymer' |
OLD | NEW |