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

Unified Diff: tools/perf/page_sets/top_10_mobile.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/top_10.py ('k') | tools/perf/page_sets/top_25_pages.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/top_10_mobile.py
diff --git a/tools/perf/page_sets/top_10_mobile.py b/tools/perf/page_sets/top_10_mobile.py
index eb249afb6860523933c62744755094bcfe22060f..805ea877ebcd4d5c3c395ecab5059b8feee67777 100644
--- a/tools/perf/page_sets/top_10_mobile.py
+++ b/tools/perf/page_sets/top_10_mobile.py
@@ -1,10 +1,11 @@
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+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
+
class Top10MobilePage(page_module.Page):
def __init__(self, url, page_set, run_no_page_interactions):
@@ -21,14 +22,14 @@ class Top10MobilePage(page_module.Page):
action_runner.ScrollPage()
-class Top10MobilePageSet(page_set_module.PageSet):
+class Top10MobilePageSet(story.StorySet):
""" Top 10 mobile sites """
def __init__(self, run_no_page_interactions=False):
super(Top10MobilePageSet, self).__init__(
archive_data_file='data/top_10_mobile.json',
- bucket=page_set_module.PARTNER_BUCKET)
+ cloud_storage_bucket=story.PARTNER_BUCKET)
urls_list = [
# Why: #1 (Alexa) most visited page worldwide, picked a reasonable
« no previous file with comments | « tools/perf/page_sets/top_10.py ('k') | tools/perf/page_sets/top_25_pages.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698