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

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

Issue 2929513002: Explicitly set story names for startup 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 | « tools/perf/page_sets/blank_page.py ('k') | tools/perf/page_sets/chrome_signin.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_large_profile.py
diff --git a/tools/perf/page_sets/blank_page_with_large_profile.py b/tools/perf/page_sets/blank_page_with_large_profile.py
index 07d348e810299e2f1551b4ea5fef0ec476d09ba3..9d268d545da03535de24d12c8fd94962c08815c3 100644
--- a/tools/perf/page_sets/blank_page_with_large_profile.py
+++ b/tools/perf/page_sets/blank_page_with_large_profile.py
@@ -7,17 +7,19 @@ from telemetry import story
class BlankPageWithLargeProfile(page_module.Page):
- def __init__(self, url, page_set):
+ def __init__(self, url, page_set, name):
super(BlankPageWithLargeProfile, self).__init__(
url=url, page_set=page_set,
shared_page_state_class=pregenerated_large_profile_shared_state.
- PregeneratedLargeProfileSharedState)
+ PregeneratedLargeProfileSharedState,
+ name=name)
class BlankPageSetWithLargeProfile(story.StorySet):
"""A single blank page loaded with a large profile."""
def __init__(self):
- super(BlankPageSetWithLargeProfile, self).__init__()
+ super(BlankPageSetWithLargeProfile, self).__init__(verify_names=True)
self.AddStory(BlankPageWithLargeProfile(
- 'file://blank_page/blank_page.html', self))
+ 'file://blank_page/blank_page.html', self,
+ 'blank_page.html'))
« no previous file with comments | « tools/perf/page_sets/blank_page.py ('k') | tools/perf/page_sets/chrome_signin.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698