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

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

Issue 2941663002: Removing verify_names=True now that the default for verify_names is True (Closed)
Patch Set: Created 3 years, 6 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 | « tools/perf/page_sets/top_10.py ('k') | tools/perf/page_sets/top_25_pages.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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 from telemetry.page import cache_temperature as cache_temperature_module 4 from telemetry.page import cache_temperature as cache_temperature_module
5 from telemetry.page import page as page_module 5 from telemetry.page import page as page_module
6 from telemetry.page import shared_page_state 6 from telemetry.page import shared_page_state
7 from telemetry import story 7 from telemetry import story
8 8
9 9
10 URL_LIST = [ 10 URL_LIST = [
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 with action_runner.CreateGestureInteraction('ScrollAction'): 60 with action_runner.CreateGestureInteraction('ScrollAction'):
61 action_runner.ScrollPage() 61 action_runner.ScrollPage()
62 if self._collect_memory_dumps: 62 if self._collect_memory_dumps:
63 action_runner.tab.browser.DumpMemory() 63 action_runner.tab.browser.DumpMemory()
64 64
65 65
66 class _Top10MobilePageSet(story.StorySet): 66 class _Top10MobilePageSet(story.StorySet):
67 """ Base class for Top 10 mobile sites """ 67 """ Base class for Top 10 mobile sites """
68 68
69 def __init__(self, run_no_page_interactions=False, 69 def __init__(self, run_no_page_interactions=False,
70 collect_memory_dumps=False, cache_temperatures=None, 70 collect_memory_dumps=False, cache_temperatures=None):
71 verify_names=True):
72 super(_Top10MobilePageSet, self).__init__( 71 super(_Top10MobilePageSet, self).__init__(
73 archive_data_file='data/top_10_mobile.json', 72 archive_data_file='data/top_10_mobile.json',
74 cloud_storage_bucket=story.PARTNER_BUCKET) 73 cloud_storage_bucket=story.PARTNER_BUCKET)
75 if cache_temperatures is None: 74 if cache_temperatures is None:
76 cache_temperatures = [cache_temperature_module.ANY] 75 cache_temperatures = [cache_temperature_module.ANY]
77 76
78 for url in URL_LIST: 77 for url in URL_LIST:
79 for temp in cache_temperatures: 78 for temp in cache_temperatures:
80 self.AddStory(Top10MobilePage(url, self, run_no_page_interactions, 79 self.AddStory(Top10MobilePage(url, self, run_no_page_interactions,
81 collect_memory_dumps, cache_temperature=temp)) 80 collect_memory_dumps, cache_temperature=temp))
82 81
83 82
84 class Top10MobilePageSet(_Top10MobilePageSet): 83 class Top10MobilePageSet(_Top10MobilePageSet):
85 """ Top 10 mobile sites """ 84 """ Top 10 mobile sites """
86 85
87 def __init__(self, run_no_page_interactions=False, cache_temperatures=None): 86 def __init__(self, run_no_page_interactions=False, cache_temperatures=None):
88 super(Top10MobilePageSet, self).__init__(run_no_page_interactions, 87 super(Top10MobilePageSet, self).__init__(run_no_page_interactions,
89 cache_temperatures=cache_temperatures) 88 cache_temperatures=cache_temperatures)
OLDNEW
« no previous file with comments | « tools/perf/page_sets/top_10.py ('k') | tools/perf/page_sets/top_25_pages.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698