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

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

Issue 1815243002: Disable page_cycler.basic_oopif on zenbook bot (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Petr's nits 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 | no next file » | 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 import os
6
5 from core import perf_benchmark 7 from core import perf_benchmark
6 8
7 from measurements import page_cycler 9 from measurements import page_cycler
8 import page_sets 10 import page_sets
9 from telemetry import benchmark 11 from telemetry import benchmark
10 12
11 13
12 class _PageCycler(perf_benchmark.PerfBenchmark): 14 class _PageCycler(perf_benchmark.PerfBenchmark):
13 options = {'pageset_repeat': 6} 15 options = {'pageset_repeat': 6}
14 cold_load_percent = 50 # % of page visits for which a cold load is forced 16 cold_load_percent = 50 # % of page visits for which a cold load is forced
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 """ A benchmark measuring performance of out-of-process iframes. """ 245 """ A benchmark measuring performance of out-of-process iframes. """
244 page_set = page_sets.OopifBasicPageSet 246 page_set = page_sets.OopifBasicPageSet
245 247
246 @classmethod 248 @classmethod
247 def Name(cls): 249 def Name(cls):
248 return 'page_cycler_site_isolation.basic_oopif' 250 return 'page_cycler_site_isolation.basic_oopif'
249 251
250 def SetExtraBrowserOptions(self, options): 252 def SetExtraBrowserOptions(self, options):
251 options.AppendExtraBrowserArgs(['--site-per-process']) 253 options.AppendExtraBrowserArgs(['--site-per-process'])
252 254
255 @classmethod
256 def ShouldDisable(cls, possible_browser): # http://crbug.com/596067
257 # This test is flaky on Zenbook laptops in the Chromium perf lab.
258 return 'Zenbook' in os.getenv('BUILDBOT_BUILDERNAME', '')
259
253 260
254 @benchmark.Disabled('reference') # crbug.com/523346 261 @benchmark.Disabled('reference') # crbug.com/523346
255 class PageCyclerBasicOopif(_PageCycler): 262 class PageCyclerBasicOopif(_PageCycler):
256 """ A benchmark measuring performance of the out-of-process iframes page 263 """ A benchmark measuring performance of the out-of-process iframes page
257 set, without running in out-of-process iframes mode.. """ 264 set, without running in out-of-process iframes mode.. """
258 page_set = page_sets.OopifBasicPageSet 265 page_set = page_sets.OopifBasicPageSet
259 266
260 @classmethod 267 @classmethod
261 def Name(cls): 268 def Name(cls):
262 return 'page_cycler.basic_oopif' 269 return 'page_cycler.basic_oopif'
263 270
264 271
265 @benchmark.Disabled('all') # crbug.com/443730 272 @benchmark.Disabled('all') # crbug.com/443730
266 class PageCyclerBigJs(_PageCycler): 273 class PageCyclerBigJs(_PageCycler):
267 page_set = page_sets.BigJsPageSet 274 page_set = page_sets.BigJsPageSet
268 275
269 @classmethod 276 @classmethod
270 def Name(cls): 277 def Name(cls):
271 return 'page_cycler.big_js' 278 return 'page_cycler.big_js'
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698