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

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

Issue 757233006: Disable moz, dhtml, and roborhornet_pro benchmarks on all OSes except Chrome OS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
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 measurements import page_cycler 5 from measurements import page_cycler
6 import page_sets 6 import page_sets
7 from telemetry import benchmark 7 from telemetry import benchmark
8 8
9 9
10 class _PageCycler(benchmark.Benchmark): 10 class _PageCycler(benchmark.Benchmark):
(...skipping 14 matching lines...) Expand all
25 25
26 def CreatePageTest(self, options): 26 def CreatePageTest(self, options):
27 return page_cycler.PageCycler( 27 return page_cycler.PageCycler(
28 page_repeat = options.page_repeat, 28 page_repeat = options.page_repeat,
29 pageset_repeat = options.pageset_repeat, 29 pageset_repeat = options.pageset_repeat,
30 cold_load_percent = options.cold_load_percent, 30 cold_load_percent = options.cold_load_percent,
31 record_v8_object_stats = options.v8_object_stats, 31 record_v8_object_stats = options.v8_object_stats,
32 report_speed_index = options.report_speed_index) 32 report_speed_index = options.report_speed_index)
33 33
34 34
35 # This is an old page set, we intend to remove it after Chrome OS
36 # extends telemetry support to run more modern benchmarks.
tonyg 2014/12/05 21:31:20 Nit: this sentence doesn't flow quite right. Maybe
sullivan 2014/12/05 21:43:42 Done.
37 @benchmark.Enabled('chromeos')
35 class PageCyclerDhtml(_PageCycler): 38 class PageCyclerDhtml(_PageCycler):
36 page_set = page_sets.DhtmlPageSet 39 page_set = page_sets.DhtmlPageSet
37 40
38 41
39 class PageCyclerIntlArFaHe(_PageCycler): 42 class PageCyclerIntlArFaHe(_PageCycler):
40 page_set = page_sets.IntlArFaHePageSet 43 page_set = page_sets.IntlArFaHePageSet
41 44
42 45
43 @benchmark.Disabled('win') # crbug.com/388337 46 @benchmark.Disabled('win') # crbug.com/388337
44 class PageCyclerIntlEsFrPtBr(_PageCycler): 47 class PageCyclerIntlEsFrPtBr(_PageCycler):
(...skipping 11 matching lines...) Expand all
56 59
57 @benchmark.Disabled('xp') # crbug.com/434366 60 @benchmark.Disabled('xp') # crbug.com/434366
58 class PageCyclerIntlKoThVi(_PageCycler): 61 class PageCyclerIntlKoThVi(_PageCycler):
59 page_set = page_sets.IntlKoThViPageSet 62 page_set = page_sets.IntlKoThViPageSet
60 63
61 64
62 class PageCyclerMorejs(_PageCycler): 65 class PageCyclerMorejs(_PageCycler):
63 page_set = page_sets.MorejsPageSet 66 page_set = page_sets.MorejsPageSet
64 67
65 68
69 # This is an old page set, we intend to remove it after Chrome OS
70 # extends telemetry support to run more modern benchmarks.
71 @benchmark.Enabled('chromeos')
66 class PageCyclerMoz(_PageCycler): 72 class PageCyclerMoz(_PageCycler):
67 page_set = page_sets.MozPageSet 73 page_set = page_sets.MozPageSet
68 74
69 75
70 @benchmark.Disabled('linux', 'win') # crbug.com/353260 76 @benchmark.Disabled('linux', 'win') # crbug.com/353260
71 class PageCyclerNetsimTop10(_PageCycler): 77 class PageCyclerNetsimTop10(_PageCycler):
72 """Measures load time of the top 10 sites under simulated cable network.""" 78 """Measures load time of the top 10 sites under simulated cable network."""
73 tag = 'netsim' 79 tag = 'netsim'
74 page_set = page_sets.Top10PageSet 80 page_set = page_sets.Top10PageSet
75 options = { 81 options = {
(...skipping 25 matching lines...) Expand all
101 @benchmark.Disabled('android') # crbug.com/357326 107 @benchmark.Disabled('android') # crbug.com/357326
102 class PageCyclerToughLayoutCases(_PageCycler): 108 class PageCyclerToughLayoutCases(_PageCycler):
103 page_set = page_sets.ToughLayoutCasesPageSet 109 page_set = page_sets.ToughLayoutCasesPageSet
104 110
105 111
106 # crbug.com/273986: This test is really flakey on xp. 112 # crbug.com/273986: This test is really flakey on xp.
107 # cabug.com/341843: This test is always timing out on Android. 113 # cabug.com/341843: This test is always timing out on Android.
108 @benchmark.Disabled('android', 'win') 114 @benchmark.Disabled('android', 'win')
109 class PageCyclerTypical25(_PageCycler): 115 class PageCyclerTypical25(_PageCycler):
110 page_set = page_sets.Typical25PageSet 116 page_set = page_sets.Typical25PageSet
OLDNEW
« no previous file with comments | « no previous file | tools/perf/benchmarks/robohornet_pro.py » ('j') | tools/perf/benchmarks/robohornet_pro.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698