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

Unified Diff: tools/perf/page_sets/tough_layout_cases.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_layer_cases.py ('k') | tools/perf/page_sets/tough_memory_multi_tab.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/tough_layout_cases.py
diff --git a/tools/perf/page_sets/tough_layout_cases.py b/tools/perf/page_sets/tough_layout_cases.py
index d5b9b5fea6bcd8dd46d038607f88cf220c61272e..bb7ef0b9592fc8354bfe9ff3d83bd816bdfb5629 100644
--- a/tools/perf/page_sets/tough_layout_cases.py
+++ b/tools/perf/page_sets/tough_layout_cases.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
@@ -15,7 +15,7 @@ class ToughLayoutCasesPage(page_module.Page):
self.archive_data_file = 'data/tough_layout_cases.json'
-class ToughLayoutCasesPageSet(page_set_module.PageSet):
+class ToughLayoutCasesPageSet(story.StorySet):
"""
The slowest layouts observed in the alexa top 1 million sites in July 2013.
@@ -24,7 +24,7 @@ class ToughLayoutCasesPageSet(page_set_module.PageSet):
def __init__(self):
super(ToughLayoutCasesPageSet, self).__init__(
archive_data_file='data/tough_layout_cases.json',
- bucket=page_set_module.PARTNER_BUCKET)
+ cloud_storage_bucket=story.PARTNER_BUCKET)
urls_list = [
'http://oilevent.com',
« no previous file with comments | « tools/perf/page_sets/tough_layer_cases.py ('k') | tools/perf/page_sets/tough_memory_multi_tab.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698