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

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

Issue 2926673002: Explicitly setting story names for start_with_* benchmarks (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 | tools/perf/page_sets/startup_pages.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/blank_page_with_extension_profile.py
diff --git a/tools/perf/page_sets/blank_page_with_extension_profile.py b/tools/perf/page_sets/blank_page_with_extension_profile.py
index b4c5b594e760b45e31f6880b494027dc7ab0cda0..a20afee29837028edef558337ab26dcf5d843941 100644
--- a/tools/perf/page_sets/blank_page_with_extension_profile.py
+++ b/tools/perf/page_sets/blank_page_with_extension_profile.py
@@ -10,17 +10,19 @@ from telemetry import story
class BlankPageWithExtensionProfile(page_module.Page):
"""A single blank page loaded with a profile with many extensions."""
- def __init__(self, url, page_set):
+ def __init__(self, url, page_set, name):
super(BlankPageWithExtensionProfile, self).__init__(
url=url, page_set=page_set,
shared_page_state_class=extension_profile_shared_state.
- ExtensionProfileSharedState)
+ ExtensionProfileSharedState,
+ name=name)
class BlankPageSetWithExtensionProfile(story.StorySet):
"""PageSet tied to BlankPageWithExtensionProfile."""
def __init__(self):
- super(BlankPageSetWithExtensionProfile, self).__init__()
+ super(BlankPageSetWithExtensionProfile, self).__init__(verify_names=True)
self.AddStory(BlankPageWithExtensionProfile(
- 'file://blank_page/blank_page.html', self))
+ 'file://blank_page/blank_page.html', self,
+ 'blank_page.html'))
« no previous file with comments | « no previous file | tools/perf/page_sets/startup_pages.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698