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

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

Issue 1198823004: Update perf page_set to use story_set (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/mse_cases.py ('k') | tools/perf/page_sets/page_cycler/intl1.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/new_tab_page.py
diff --git a/tools/perf/page_sets/new_tab_page.py b/tools/perf/page_sets/new_tab_page.py
index c3ce4373e5363d643a90232ced9c247a2ef70015..cfcaa2861d415aea8f4bd90af98c6450d8df16a4 100644
--- a/tools/perf/page_sets/new_tab_page.py
+++ b/tools/perf/page_sets/new_tab_page.py
@@ -3,8 +3,8 @@
# found in the LICENSE file.
import time
+from telemetry import story
from telemetry.page import page as page_module
-from telemetry.page import page_set as page_set_module
from telemetry.page import shared_page_state
INTERACTION_NAME = 'Interaction.PageLoading'
@@ -41,9 +41,9 @@ class NewTabPagePage(page_module.Page):
"console.timeEnd('" + INTERACTION_NAME + "');")
-class NewTabPagePageSet(page_set_module.PageSet):
+class NewTabPagePageSet(story.StorySet):
def __init__(self):
super(NewTabPagePageSet, self).__init__(
archive_data_file='data/new_tab_page_page.json',
- bucket=page_set_module.PUBLIC_BUCKET)
+ cloud_storage_bucket=story.PUBLIC_BUCKET)
self.AddUserStory(NewTabPagePage(page_set=self))
« no previous file with comments | « tools/perf/page_sets/mse_cases.py ('k') | tools/perf/page_sets/page_cycler/intl1.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698