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

Unified Diff: tools/perf/page_sets/simple_mobile_sites.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
Index: tools/perf/page_sets/simple_mobile_sites.py
diff --git a/tools/perf/page_sets/simple_mobile_sites.py b/tools/perf/page_sets/simple_mobile_sites.py
index fc478194cecfd52b28112ac840c35b0eacab75db..f6bcab21f247690649595a302f54ae43f985f5f3 100644
--- a/tools/perf/page_sets/simple_mobile_sites.py
+++ b/tools/perf/page_sets/simple_mobile_sites.py
@@ -1,8 +1,8 @@
# 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
@@ -31,14 +31,14 @@ class SimpleScrollPage(SimplePage):
with action_runner.CreateGestureInteraction('ScrollAction'):
action_runner.ScrollPage(direction='down', speed_in_pixels_per_second=300)
-class SimpleMobileSitesPageSet(page_set_module.PageSet):
+class SimpleMobileSitesPageSet(story.StorySet):
""" Simple mobile sites """
def __init__(self):
super(SimpleMobileSitesPageSet, self).__init__(
archive_data_file='data/simple_mobile_sites.json',
- bucket=page_set_module.PUBLIC_BUCKET)
+ cloud_storage_bucket=story.PUBLIC_BUCKET)
scroll_page_list = [
# Why: Scrolls moderately complex pages (up to 60 layers)
@@ -51,4 +51,3 @@ class SimpleMobileSitesPageSet(page_set_module.PageSet):
for url in scroll_page_list:
self.AddUserStory(SimpleScrollPage(url, self))
-
« no previous file with comments | « tools/perf/page_sets/service_worker_micro_benchmark.py ('k') | tools/perf/page_sets/simple_mobile_sites_fling.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698