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

Side by Side Diff: tools/perf/benchmarks/page_cycler.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/media.py ('k') | tools/perf/benchmarks/power.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 from measurements import page_cycler 7 from measurements import page_cycler
8 import page_sets 8 import page_sets
9 from telemetry import benchmark 9 from telemetry import benchmark
10 10
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 return 'page_cycler.top_10_mobile' 174 return 'page_cycler.top_10_mobile'
175 175
176 def CreateStorySet(self, options): 176 def CreateStorySet(self, options):
177 # Disable the taobao.com page since it's crashing. crbug.com/509690 177 # Disable the taobao.com page since it's crashing. crbug.com/509690
178 stories = page_sets.Top10MobilePageSet(run_no_page_interactions=True) 178 stories = page_sets.Top10MobilePageSet(run_no_page_interactions=True)
179 found = next((x for x in stories if 'taobao.com' in x.url), None) 179 found = next((x for x in stories if 'taobao.com' in x.url), None)
180 if found: 180 if found:
181 stories.RemoveStory(found) 181 stories.RemoveStory(found)
182 return stories 182 return stories
183 183
184 @benchmark.Disabled 184 @benchmark.Disabled('all')
185 class PageCyclerKeyMobileSites(_PageCycler): 185 class PageCyclerKeyMobileSites(_PageCycler):
186 """Page load time benchmark for key mobile sites.""" 186 """Page load time benchmark for key mobile sites."""
187 page_set = page_sets.KeyMobileSitesPageSet 187 page_set = page_sets.KeyMobileSitesPageSet
188 188
189 @classmethod 189 @classmethod
190 def Name(cls): 190 def Name(cls):
191 return 'page_cycler.key_mobile_sites_smooth' 191 return 'page_cycler.key_mobile_sites_smooth'
192 192
193 193
194 @benchmark.Disabled('android') # crbug.com/357326 194 @benchmark.Disabled('android') # crbug.com/357326
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 class PageCyclerBasicOopif(_PageCycler): 239 class PageCyclerBasicOopif(_PageCycler):
240 """ A benchmark measuring performance of the out-of-process iframes page 240 """ A benchmark measuring performance of the out-of-process iframes page
241 set, without running in out-of-process iframes mode.. """ 241 set, without running in out-of-process iframes mode.. """
242 page_set = page_sets.OopifBasicPageSet 242 page_set = page_sets.OopifBasicPageSet
243 243
244 @classmethod 244 @classmethod
245 def Name(cls): 245 def Name(cls):
246 return 'page_cycler.basic_oopif' 246 return 'page_cycler.basic_oopif'
247 247
248 248
249 @benchmark.Disabled # crbug.com/443730 249 @benchmark.Disabled('all') # crbug.com/443730
250 class PageCyclerBigJs(_PageCycler): 250 class PageCyclerBigJs(_PageCycler):
251 page_set = page_sets.BigJsPageSet 251 page_set = page_sets.BigJsPageSet
252 @classmethod 252 @classmethod
253 def Name(cls): 253 def Name(cls):
254 return 'page_cycler.big_js' 254 return 'page_cycler.big_js'
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/media.py ('k') | tools/perf/benchmarks/power.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698