Chromium Code Reviews| 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('reference') | 10 @benchmark.Disabled('reference', 'chromeos') |
|
cylee1
2015/05/04 11:16:59
Why disable performance test ? I thought you're di
cylee1
2015/05/04 11:46:36
BTW, just found that the blink_style.top_25 fails
achuithb
2015/05/04 19:47:59
Done.
| |
| 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' |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 39 class BlinkStylePolymer(benchmark.Benchmark): | 39 class BlinkStylePolymer(benchmark.Benchmark): |
| 40 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc, | 40 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc, |
| 41 etc.) for Polymer cases. | 41 etc.) for Polymer cases. |
| 42 """ | 42 """ |
| 43 test = blink_style.BlinkStyle | 43 test = blink_style.BlinkStyle |
| 44 page_set = page_sets.PolymerPageSet | 44 page_set = page_sets.PolymerPageSet |
| 45 | 45 |
| 46 @classmethod | 46 @classmethod |
| 47 def Name(cls): | 47 def Name(cls): |
| 48 return 'blink_style.polymer' | 48 return 'blink_style.polymer' |
| OLD | NEW |