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

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

Issue 2910673002: Explicitly settings story names for the battor.steady_state story set. (Closed)
Patch Set: Explicitly settings story names for the battor.steady_state story set. Created 3 years, 7 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/idle_after_loading_stories.py
diff --git a/tools/perf/page_sets/idle_after_loading_stories.py b/tools/perf/page_sets/idle_after_loading_stories.py
index 8054cc24c7ecfe614d579436617f173eb8ded76f..47c62906e70dff937468dcc34c91c179f6fdbcd2 100644
--- a/tools/perf/page_sets/idle_after_loading_stories.py
+++ b/tools/perf/page_sets/idle_after_loading_stories.py
@@ -32,8 +32,8 @@ SITES = [
# TODO(rnephew): Move to seperate file and merge with mac_gpu_sites BasePage.
class _BasePage(page_module.Page):
- def __init__(self, page_set, url, wait_in_seconds):
- super(_BasePage, self).__init__(url=url, page_set=page_set)
+ def __init__(self, page_set, url, wait_in_seconds, name):
+ super(_BasePage, self).__init__(url=url, page_set=page_set, name=name)
self._wait_in_seconds = wait_in_seconds
def RunPageInteractions(self, action_runner):
@@ -47,9 +47,10 @@ class IdleAfterLoadingStories(story.StorySet):
def __init__(self, wait_in_seconds=0):
super(IdleAfterLoadingStories, self).__init__(
archive_data_file='data/idle_after_loading_stories.json',
- cloud_storage_bucket=story.PARTNER_BUCKET)
+ cloud_storage_bucket=story.PARTNER_BUCKET,
+ verify_names=True)
# Chrome has high idle CPU usage on this site, even after its quiesced.
# https://crbug.com/638365.
for url in SITES:
- self.AddStory(_BasePage(self, url, wait_in_seconds))
+ self.AddStory(_BasePage(self, url, wait_in_seconds, url))
« 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