Files.app: Use quotaBytesUsedAggregate to know the actual available space.
[chromium-blink-merge.git] / tools / perf / benchmarks / blink_style.py
blobc3f8fb2b3b8f8c8a64bda30906911f392620eeda
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 telemetry import benchmark
7 from measurements import blink_style
8 import page_sets
10 @benchmark.Disabled('reference', 'win8')
11 class BlinkStyleTop25(benchmark.Benchmark):
12 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc,
13 etc.) on the top 25 pages.
14 """
15 test = blink_style.BlinkStyle
16 page_set = page_sets.Top25PageSet
18 @classmethod
19 def Name(cls):
20 return 'blink_style.top_25'
23 @benchmark.Disabled('reference')
24 @benchmark.Enabled('android')
25 class BlinkStyleKeyMobileSites(benchmark.Benchmark):
26 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc,
27 etc.) on key mobile sites.
28 """
29 test = blink_style.BlinkStyle
30 page_set = page_sets.KeyMobileSitesPageSet
32 @classmethod
33 def Name(cls):
34 return 'blink_style.key_mobile_sites'
37 @benchmark.Disabled('reference')
38 @benchmark.Enabled('android')
39 class BlinkStylePolymer(benchmark.Benchmark):
40 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc,
41 etc.) for Polymer cases.
42 """
43 test = blink_style.BlinkStyle
44 page_set = page_sets.PolymerPageSet
46 @classmethod
47 def Name(cls):
48 return 'blink_style.polymer'