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

Unified Diff: tools/perf/page_sets/typical_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/tough_webgl_cases.py ('k') | tools/perf/page_sets/typical_25.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/typical_10_mobile.py
diff --git a/tools/perf/page_sets/typical_10_mobile.py b/tools/perf/page_sets/typical_10_mobile.py
index 2ef67e26939caea1b1b36e99469c96e2f4344750..c698ac6c782e7c00fffedaa91ceed82973ff77a9 100644
--- a/tools/perf/page_sets/typical_10_mobile.py
+++ b/tools/perf/page_sets/typical_10_mobile.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
@@ -57,24 +57,24 @@ urls_list = [
]
-class Typical10MobilePageSet(page_set_module.PageSet):
+class Typical10MobilePageSet(story.StorySet):
"""10 typical mobile pages, used for power testing."""
def __init__(self):
super(Typical10MobilePageSet, self).__init__(
archive_data_file='data/typical_10_mobile.json',
- bucket=page_set_module.PARTNER_BUCKET)
+ cloud_storage_bucket=story.PARTNER_BUCKET)
for url in urls_list:
self.AddUserStory(Typical10MobilePage(url, self))
-class Typical10MobileReloadPageSet(page_set_module.PageSet):
+class Typical10MobileReloadPageSet(story.StorySet):
"""10 typical mobile pages, used for reloading power testing."""
def __init__(self):
super(Typical10MobileReloadPageSet, self).__init__(
archive_data_file='data/typical_10_mobile.json',
- bucket=page_set_module.PARTNER_BUCKET)
+ cloud_storage_bucket=story.PARTNER_BUCKET)
for url in urls_list:
self.AddUserStory(Typical10MobileReloadPage(url, self))
« no previous file with comments | « tools/perf/page_sets/tough_webgl_cases.py ('k') | tools/perf/page_sets/typical_25.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698