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

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

Issue 2885563002: Remove blink_style benchmarks (Closed)
Patch Set: Created 3 years, 7 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 | « tools/perf/benchmark.csv ('k') | tools/perf/measurements/blink_style.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 from core import perf_benchmark
6
7 from measurements import blink_style
8 import page_sets
9 from telemetry import benchmark
10
11
12 @benchmark.Disabled('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
19
20 @classmethod
21 def Name(cls):
22 return 'blink_style.top_25'
23
24
25 @benchmark.Enabled('android')
26 class BlinkStyleKeyMobileSites(perf_benchmark.PerfBenchmark):
27 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc,
28 etc.) on key mobile sites.
29 """
30 test = blink_style.BlinkStyle
31 page_set = page_sets.KeyMobileSitesPageSet
32
33 @classmethod
34 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656
35 return (possible_browser.browser_type == 'reference' and
36 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X')
37
38 @classmethod
39 def Name(cls):
40 return 'blink_style.key_mobile_sites'
41
42
43 @benchmark.Enabled('android')
44 class BlinkStylePolymer(perf_benchmark.PerfBenchmark):
45 """Measures performance of Blink's style engine (CSS Parsing, Style Recalc,
46 etc.) for Polymer cases.
47 """
48 test = blink_style.BlinkStyle
49 page_set = page_sets.PolymerPageSet
50
51 @classmethod
52 def Name(cls):
53 return 'blink_style.polymer'
OLDNEW
« no previous file with comments | « tools/perf/benchmark.csv ('k') | tools/perf/measurements/blink_style.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698