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

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

Issue 112413006: [Telemetry] Fix page_cycler for pages with client side redirects. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 import sys 4 import sys
5 5
6 from telemetry import test 6 from telemetry import test
7 7
8 from measurements import page_cycler 8 from measurements import page_cycler
9 9
10 10
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 } 84 }
85 85
86 def __init__(self): 86 def __init__(self):
87 super(PageCyclerNetsimTop10, self).__init__() 87 super(PageCyclerNetsimTop10, self).__init__()
88 # TODO: This isn't quite right. 88 # TODO: This isn't quite right.
89 # This option will still apply to page cyclers that run after this one. 89 # This option will still apply to page cyclers that run after this one.
90 self.test.clear_cache_before_each_run = True 90 self.test.clear_cache_before_each_run = True
91 91
92 92
93 class PageCyclerTop10Mobile(test.Test): 93 class PageCyclerTop10Mobile(test.Test):
94 enabled = False # Fails on Android.
95
96 test = page_cycler.PageCycler 94 test = page_cycler.PageCycler
97 page_set = 'page_sets/top_10_mobile.json' 95 page_set = 'page_sets/top_10_mobile.json'
98 options = {'pageset_repeat_iters': 10} 96 options = {'pageset_repeat_iters': 10}
99 97
100 98
101 class PageCyclerToughLayoutCases(test.Test): 99 class PageCyclerToughLayoutCases(test.Test):
102 test = page_cycler.PageCycler 100 test = page_cycler.PageCycler
103 page_set = 'page_sets/tough_layout_cases.json' 101 page_set = 'page_sets/tough_layout_cases.json'
104 options = {'pageset_repeat_iters': 10} 102 options = {'pageset_repeat_iters': 10}
105 103
106 104
107 class PageCyclerTypical25(test.Test): 105 class PageCyclerTypical25(test.Test):
108 # crbug.com/273986: This test is really flakey on xp. 106 # crbug.com/273986: This test is really flakey on xp.
109 enabled = not sys.platform.startswith('win') 107 enabled = not sys.platform.startswith('win')
110 test = page_cycler.PageCycler 108 test = page_cycler.PageCycler
111 page_set = 'page_sets/typical_25.json' 109 page_set = 'page_sets/typical_25.json'
112 options = {'pageset_repeat_iters': 10} 110 options = {'pageset_repeat_iters': 10}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698