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

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

Issue 586903003: [Telemetry] Last CL of making enable/disable annotation match old master.cfg. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/v8.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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 benchmarks import silk_flags 5 from benchmarks import silk_flags
6 from measurements import thread_times 6 from measurements import thread_times
7 import page_sets 7 import page_sets
8 from telemetry import benchmark 8 from telemetry import benchmark
9 9
10 10
11 @benchmark.Enabled('android')
11 class ThreadTimesKeySilkCases(benchmark.Benchmark): 12 class ThreadTimesKeySilkCases(benchmark.Benchmark):
12 """Measures timeline metrics while performing smoothness action on key silk 13 """Measures timeline metrics while performing smoothness action on key silk
13 cases.""" 14 cases."""
14 test = thread_times.ThreadTimes 15 test = thread_times.ThreadTimes
15 page_set = page_sets.KeySilkCasesPageSet 16 page_set = page_sets.KeySilkCasesPageSet
16 options = {"report_silk_results": True} 17 options = {"report_silk_results": True}
17 18
18 19
20 @benchmark.Enabled('android')
19 class ThreadTimesFastPathKeySilkCases(benchmark.Benchmark): 21 class ThreadTimesFastPathKeySilkCases(benchmark.Benchmark):
20 """Measures timeline metrics while performing smoothness action on key silk 22 """Measures timeline metrics while performing smoothness action on key silk
21 cases using bleeding edge rendering fast paths.""" 23 cases using bleeding edge rendering fast paths."""
22 tag = 'fast_path' 24 tag = 'fast_path'
23 test = thread_times.ThreadTimes 25 test = thread_times.ThreadTimes
24 page_set = page_sets.KeySilkCasesPageSet 26 page_set = page_sets.KeySilkCasesPageSet
25 options = {"report_silk_results": True} 27 options = {"report_silk_results": True}
26 def CustomizeBrowserOptions(self, options): 28 def CustomizeBrowserOptions(self, options):
27 silk_flags.CustomizeBrowserOptionsForFastPath(options) 29 silk_flags.CustomizeBrowserOptionsForFastPath(options)
28 30
29 31
30 @benchmark.Disabled 32 @benchmark.Disabled
31 class LegacySilkBenchmark(ThreadTimesKeySilkCases): 33 class LegacySilkBenchmark(ThreadTimesKeySilkCases):
32 """Same as thread_times.key_silk_cases but with the old name.""" 34 """Same as thread_times.key_silk_cases but with the old name."""
33 @classmethod 35 @classmethod
34 def GetName(cls): 36 def GetName(cls):
35 return "silk.key_silk_cases" 37 return "silk.key_silk_cases"
36 38
37 39
40 @benchmark.Enabled('android')
38 class ThreadTimesFastPathMobileSites(benchmark.Benchmark): 41 class ThreadTimesFastPathMobileSites(benchmark.Benchmark):
39 """Measures timeline metrics while performing smoothness action on 42 """Measures timeline metrics while performing smoothness action on
40 key mobile sites labeled with fast-path tag. 43 key mobile sites labeled with fast-path tag.
41 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 44 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
42 test = thread_times.ThreadTimes 45 test = thread_times.ThreadTimes
43 page_set = page_sets.KeyMobileSitesPageSet 46 page_set = page_sets.KeyMobileSitesPageSet
44 options = {'page_label_filter' : 'fastpath'} 47 options = {'page_label_filter' : 'fastpath'}
45 48
46 49
47 @benchmark.Disabled # crbug.com/400922 50 @benchmark.Disabled # crbug.com/400922
(...skipping 14 matching lines...) Expand all
62 def CustomizeBrowserOptions(self, options): 65 def CustomizeBrowserOptions(self, options):
63 silk_flags.CustomizeBrowserOptionsForSoftwareRasterization(options) 66 silk_flags.CustomizeBrowserOptionsForSoftwareRasterization(options)
64 67
65 @benchmark.Enabled('android') 68 @benchmark.Enabled('android')
66 class ThreadTimesPolymer(benchmark.Benchmark): 69 class ThreadTimesPolymer(benchmark.Benchmark):
67 """Measures timeline metrics while performing smoothness action on 70 """Measures timeline metrics while performing smoothness action on
68 Polymer cases.""" 71 Polymer cases."""
69 test = thread_times.ThreadTimes 72 test = thread_times.ThreadTimes
70 page_set = page_sets.PolymerPageSet 73 page_set = page_sets.PolymerPageSet
71 options = { 'report_silk_results': True } 74 options = { 'report_silk_results': True }
OLDNEW
« no previous file with comments | « no previous file | tools/perf/benchmarks/v8.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698