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

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

Issue 1428133005: [Telemetry] Allows concatenating multiple Disabled & Enabled decorators (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Dave's comment Created 5 years, 1 month 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/benchmarks/power.py ('k') | tools/perf/benchmarks/repaint.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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 import ct_benchmarks_util 7 import ct_benchmarks_util
8 from measurements import rasterize_and_record_micro 8 from measurements import rasterize_and_record_micro
9 import page_sets 9 import page_sets
10 from telemetry import benchmark 10 from telemetry import benchmark
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 @classmethod 93 @classmethod
94 def Name(cls): 94 def Name(cls):
95 return 'rasterize_and_record_micro.polymer' 95 return 'rasterize_and_record_micro.polymer'
96 96
97 def CreateStorySet(self, options): 97 def CreateStorySet(self, options):
98 return page_sets.PolymerPageSet(run_no_page_interactions=True) 98 return page_sets.PolymerPageSet(run_no_page_interactions=True)
99 99
100 100
101 # Disabled because we do not plan on running CT benchmarks on the perf 101 # Disabled because we do not plan on running CT benchmarks on the perf
102 # waterfall any time soon. 102 # waterfall any time soon.
103 @benchmark.Disabled 103 @benchmark.Disabled('all')
104 class RasterizeAndRecordMicroCT(_RasterizeAndRecordMicro): 104 class RasterizeAndRecordMicroCT(_RasterizeAndRecordMicro):
105 """Measures rasterize and record performance for Cluster Telemetry.""" 105 """Measures rasterize and record performance for Cluster Telemetry."""
106 106
107 @classmethod 107 @classmethod
108 def Name(cls): 108 def Name(cls):
109 return 'rasterize_and_record_micro_ct' 109 return 'rasterize_and_record_micro_ct'
110 110
111 @classmethod 111 @classmethod
112 def AddBenchmarkCommandLineArgs(cls, parser): 112 def AddBenchmarkCommandLineArgs(cls, parser):
113 _RasterizeAndRecordMicro.AddBenchmarkCommandLineArgs(parser) 113 _RasterizeAndRecordMicro.AddBenchmarkCommandLineArgs(parser)
114 ct_benchmarks_util.AddBenchmarkCommandLineArgs(parser) 114 ct_benchmarks_util.AddBenchmarkCommandLineArgs(parser)
115 115
116 @classmethod 116 @classmethod
117 def ProcessCommandLineArgs(cls, parser, args): 117 def ProcessCommandLineArgs(cls, parser, args):
118 ct_benchmarks_util.ValidateCommandLineArgs(parser, args) 118 ct_benchmarks_util.ValidateCommandLineArgs(parser, args)
119 119
120 def CreateStorySet(self, options): 120 def CreateStorySet(self, options):
121 return page_sets.CTPageSet( 121 return page_sets.CTPageSet(
122 options.urls_list, options.user_agent, options.archive_data_file) 122 options.urls_list, options.user_agent, options.archive_data_file)
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/power.py ('k') | tools/perf/benchmarks/repaint.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698