[Android WebViewShell] Add inclusion test for webview exposed stable interfaces.
[chromium-blink-merge.git] / tools / perf / benchmarks / blink_style.py
blob42ac389ff12811d5be5d7e50a255e26b7f716c92
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.
5 from core import perf_benchmark
7 from measurements import blink_style
8 import page_sets
9 from telemetry import benchmark
12 @benchmark.Disabled('reference', 'win8')
13 class BlinkStyleTop25(perf_benchmark.PerfBenchmark):
14 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc,
15 etc.) on the top 25 pages.
16 """
17 test = blink_style.BlinkStyle
18 page_set = page_sets.Top25PageSet
20 @classmethod
21 def Name(cls):
22 return 'blink_style.top_25'
25 @benchmark.Disabled('reference')
26 @benchmark.Enabled('android')
27 class BlinkStyleKeyMobileSites(perf_benchmark.PerfBenchmark):
28 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc,
29 etc.) on key mobile sites.
30 """
31 test = blink_style.BlinkStyle
32 page_set = page_sets.KeyMobileSitesPageSet
34 @classmethod
35 def Name(cls):
36 return 'blink_style.key_mobile_sites'
39 @benchmark.Disabled('reference')
40 @benchmark.Enabled('android')
41 class BlinkStylePolymer(perf_benchmark.PerfBenchmark):
42 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc,
43 etc.) for Polymer cases.
44 """
45 test = blink_style.BlinkStyle
46 page_set = page_sets.PolymerPageSet
48 @classmethod
49 def Name(cls):
50 return 'blink_style.polymer'