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

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

Issue 2926633002: Explicitly setting story names for all smoothness benchmarks (Closed)
Patch Set: Explicitly setting story names for all smoothness benchmarks 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
Index: tools/perf/page_sets/top_pages.py
diff --git a/tools/perf/page_sets/top_pages.py b/tools/perf/page_sets/top_pages.py
index 7f0d187b3d427b74e1b6d6e1a8b5456302c69484..20de0c557268bb9eb24d4837c328cc74c55aa9e8 100644
--- a/tools/perf/page_sets/top_pages.py
+++ b/tools/perf/page_sets/top_pages.py
@@ -9,6 +9,8 @@ class TopPages(page_module.Page):
def __init__(self, url, page_set, shared_page_state_class,
name='', credentials=None):
+ if name == '':
+ name=url
super(TopPages, self).__init__(
url=url, page_set=page_set, name=name,
credentials_path='data/credentials.json',

Powered by Google App Engine
This is Rietveld 408576698