Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: tools/perf/benchmarks/blink_style.py

Issue 2781713005: [Android][Telemetry] Disable failing key_mobile_sites benchmarks. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | tools/perf/benchmarks/oilpan_gc_times.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 core import perf_benchmark 5 from core import perf_benchmark
6 6
7 from measurements import blink_style 7 from measurements import blink_style
8 import page_sets 8 import page_sets
9 from telemetry import benchmark 9 from telemetry import benchmark
10 10
11 11
12 @benchmark.Disabled('win8') 12 @benchmark.Disabled('win8')
13 class BlinkStyleTop25(perf_benchmark.PerfBenchmark): 13 class BlinkStyleTop25(perf_benchmark.PerfBenchmark):
14 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc, 14 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc,
15 etc.) on the top 25 pages. 15 etc.) on the top 25 pages.
16 """ 16 """
17 test = blink_style.BlinkStyle 17 test = blink_style.BlinkStyle
18 page_set = page_sets.Top25PageSet 18 page_set = page_sets.Top25PageSet
19 19
20 @classmethod 20 @classmethod
21 def Name(cls): 21 def Name(cls):
22 return 'blink_style.top_25' 22 return 'blink_style.top_25'
23 23
24 24
25 @benchmark.Enabled('android') 25 @benchmark.Disabled('all') # crbug.com/702194
26 #@benchmark.Enabled('android')
26 class BlinkStyleKeyMobileSites(perf_benchmark.PerfBenchmark): 27 class BlinkStyleKeyMobileSites(perf_benchmark.PerfBenchmark):
27 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc, 28 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc,
28 etc.) on key mobile sites. 29 etc.) on key mobile sites.
29 """ 30 """
30 test = blink_style.BlinkStyle 31 test = blink_style.BlinkStyle
31 page_set = page_sets.KeyMobileSitesPageSet 32 page_set = page_sets.KeyMobileSitesPageSet
32 33
33 @classmethod 34 @classmethod
34 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656 35 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656
35 return (possible_browser.browser_type == 'reference' and 36 return (possible_browser.browser_type == 'reference' and
36 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X') 37 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X')
37 38
38 @classmethod 39 @classmethod
39 def Name(cls): 40 def Name(cls):
40 return 'blink_style.key_mobile_sites' 41 return 'blink_style.key_mobile_sites'
41 42
42 43
43 @benchmark.Enabled('android') 44 @benchmark.Enabled('android')
44 class BlinkStylePolymer(perf_benchmark.PerfBenchmark): 45 class BlinkStylePolymer(perf_benchmark.PerfBenchmark):
45 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc, 46 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc,
46 etc.) for Polymer cases. 47 etc.) for Polymer cases.
47 """ 48 """
48 test = blink_style.BlinkStyle 49 test = blink_style.BlinkStyle
49 page_set = page_sets.PolymerPageSet 50 page_set = page_sets.PolymerPageSet
50 51
51 @classmethod 52 @classmethod
52 def Name(cls): 53 def Name(cls):
53 return 'blink_style.polymer' 54 return 'blink_style.polymer'
OLDNEW
« no previous file with comments | « no previous file | tools/perf/benchmarks/oilpan_gc_times.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698