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

Unified Diff: tools/perf/page_sets/top_10.py

Issue 2927823003: Explicitly set names for stories in Top10PageSet (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/top_10.py
diff --git a/tools/perf/page_sets/top_10.py b/tools/perf/page_sets/top_10.py
index 7c9045fad222db2377dca3c918728c8a9287818b..d5004a9d684bbda2f3f5bca3e1ac5befcddd0efc 100644
--- a/tools/perf/page_sets/top_10.py
+++ b/tools/perf/page_sets/top_10.py
@@ -8,6 +8,8 @@ from telemetry import story
class SimplePage(page_module.Page):
def __init__(self, url, page_set, credentials='', name=''):
+ if name == '':
+ name = url
super(SimplePage, self).__init__(
url, page_set=page_set, name=name,
credentials_path='data/credentials.json',
@@ -92,7 +94,8 @@ class Top10PageSet(story.StorySet):
def __init__(self):
super(Top10PageSet, self).__init__(
archive_data_file='data/top_10.json',
- cloud_storage_bucket=story.PARTNER_BUCKET)
+ cloud_storage_bucket=story.PARTNER_BUCKET,
+ verify_names=True)
# top google property; a google tab is often open
self.AddStory(Google(self))
« 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