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

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

Issue 1776473008: [Telemetry] Disable some tests on Nexus 5X reference (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/page_cycler.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
(...skipping 13 matching lines...) Expand all
24 24
25 @benchmark.Enabled('android') 25 @benchmark.Enabled('android')
26 class BlinkStyleKeyMobileSites(perf_benchmark.PerfBenchmark): 26 class BlinkStyleKeyMobileSites(perf_benchmark.PerfBenchmark):
27 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc, 27 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc,
28 etc.) on key mobile sites. 28 etc.) on key mobile sites.
29 """ 29 """
30 test = blink_style.BlinkStyle 30 test = blink_style.BlinkStyle
31 page_set = page_sets.KeyMobileSitesPageSet 31 page_set = page_sets.KeyMobileSitesPageSet
32 32
33 @classmethod 33 @classmethod
34 def ShouldDisable(cls, possible_browser): # http://crbug.com/593152
35 return (possible_browser.browser_type == 'reference' and
36 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X')
37
38 @classmethod
34 def Name(cls): 39 def Name(cls):
35 return 'blink_style.key_mobile_sites' 40 return 'blink_style.key_mobile_sites'
36 41
37 42
38 @benchmark.Enabled('android') 43 @benchmark.Enabled('android')
39 class BlinkStylePolymer(perf_benchmark.PerfBenchmark): 44 class BlinkStylePolymer(perf_benchmark.PerfBenchmark):
40 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc, 45 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc,
41 etc.) for Polymer cases. 46 etc.) for Polymer cases.
42 """ 47 """
43 test = blink_style.BlinkStyle 48 test = blink_style.BlinkStyle
44 page_set = page_sets.PolymerPageSet 49 page_set = page_sets.PolymerPageSet
45 50
46 @classmethod 51 @classmethod
47 def Name(cls): 52 def Name(cls):
48 return 'blink_style.polymer' 53 return 'blink_style.polymer'
OLDNEW
« no previous file with comments | « no previous file | tools/perf/benchmarks/page_cycler.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698