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

Side by Side Diff: tools/perf/page_sets/tough_ad_cases.py

Issue 2108313003: perf: Re-enable latimes.com in tough_ad_cases (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 page_sets import repeatable_synthesize_scroll_gesture_shared_state 5 from page_sets import repeatable_synthesize_scroll_gesture_shared_state
6 6
7 from telemetry.page import page as page_module 7 from telemetry.page import page as page_module
8 from telemetry import story 8 from telemetry import story
9 9
10 10
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 super(ToughAdCasesPageSet, self).__init__( 172 super(ToughAdCasesPageSet, self).__init__(
173 archive_data_file='data/tough_ad_cases.json', 173 archive_data_file='data/tough_ad_cases.json',
174 cloud_storage_bucket=story.INTERNAL_BUCKET) 174 cloud_storage_bucket=story.INTERNAL_BUCKET)
175 175
176 self.AddStory(AdPage('file://tough_ad_cases/' 176 self.AddStory(AdPage('file://tough_ad_cases/'
177 'swiffy_collection.html', self, make_javascript_deterministic=False, 177 'swiffy_collection.html', self, make_javascript_deterministic=False,
178 y_scroll_distance_multiplier=0.25, scroll=scroll)) 178 y_scroll_distance_multiplier=0.25, scroll=scroll))
179 self.AddStory(AdPage('file://tough_ad_cases/' 179 self.AddStory(AdPage('file://tough_ad_cases/'
180 'swiffy_webgl_collection.html', 180 'swiffy_webgl_collection.html',
181 self, make_javascript_deterministic=False, scroll=scroll)) 181 self, make_javascript_deterministic=False, scroll=scroll))
182 # crbug.com/618708 182 self.AddStory(AdPage('http://www.latimes.com', self, scroll=scroll,
183 # self.AddStory(AdPage('http://www.latimes.com', self, scroll=scroll, 183 wait_for_interactive_or_better=True))
184 # wait_for_interactive_or_better=True))
185 self.AddStory(ForbesAdPage('http://www.forbes.com/sites/parmyolson/' 184 self.AddStory(ForbesAdPage('http://www.forbes.com/sites/parmyolson/'
186 '2015/07/29/jana-mobile-data-facebook-internet-org/', 185 '2015/07/29/jana-mobile-data-facebook-internet-org/',
187 self, scroll=scroll)) 186 self, scroll=scroll))
188 self.AddStory(AdPage('http://androidcentral.com', self, scroll=scroll, 187 self.AddStory(AdPage('http://androidcentral.com', self, scroll=scroll,
189 wait_for_interactive_or_better=True)) 188 wait_for_interactive_or_better=True))
190 self.AddStory(AdPage('http://mashable.com', self, scroll=scroll, 189 self.AddStory(AdPage('http://mashable.com', self, scroll=scroll,
191 y_scroll_distance_multiplier=0.25)) 190 y_scroll_distance_multiplier=0.25))
192 self.AddStory(AdPage('http://www.androidauthority.com/' 191 self.AddStory(AdPage('http://www.androidauthority.com/'
193 'reduce-data-use-turn-on-data-compression-in-chrome-630064/', self, 192 'reduce-data-use-turn-on-data-compression-in-chrome-630064/', self,
194 scroll=scroll)) 193 scroll=scroll))
(...skipping 10 matching lines...) Expand all
205 self.AddStory(AdPage('http://androidpolice.com', self, scroll=scroll, 204 self.AddStory(AdPage('http://androidpolice.com', self, scroll=scroll,
206 wait_for_interactive_or_better=True)) 205 wait_for_interactive_or_better=True))
207 206
208 207
209 class ScrollingToughAdCasesPageSet(ToughAdCasesPageSet): 208 class ScrollingToughAdCasesPageSet(ToughAdCasesPageSet):
210 """Pages for measuring scrolling performance with advertising content.""" 209 """Pages for measuring scrolling performance with advertising content."""
211 210
212 def __init__(self): 211 def __init__(self):
213 super(ScrollingToughAdCasesPageSet, self).__init__( 212 super(ScrollingToughAdCasesPageSet, self).__init__(
214 scroll=True) 213 scroll=True)
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