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

Unified Diff: tools/perf/page_sets/alexa1-10000.py

Issue 2933173002: Deleting unused story sets (Closed)
Patch Set: Deleting unused story sets Created 3 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 | « no previous file | tools/perf/page_sets/android_acceptance.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/alexa1-10000.py
diff --git a/tools/perf/page_sets/alexa1-10000.py b/tools/perf/page_sets/alexa1-10000.py
deleted file mode 100644
index 5aa392ba4ab16a344cafe4c8ed70250bf8d0a420..0000000000000000000000000000000000000000
--- a/tools/perf/page_sets/alexa1-10000.py
+++ /dev/null
@@ -1,44 +0,0 @@
-# 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.
-import json
-import os
-
-from telemetry.page import page as page_module
-from telemetry.page import shared_page_state
-from telemetry import story
-
-
-__location__ = os.path.realpath(
- os.path.join(os.getcwd(), os.path.dirname(__file__)))
-
-# Generated on 2013-09-03 13:59:53.459117 by rmistry using
-# create_page_set.py.
-_TOP_10000_ALEXA_FILE = os.path.join(__location__, 'alexa1-10000-urls.json')
-
-
-class Alexa1To10000Page(page_module.Page):
-
- def __init__(self, url, page_set):
- super(Alexa1To10000Page, self).__init__(
- url=url, page_set=page_set,
- shared_page_state_class=shared_page_state.SharedDesktopPageState)
-
- def RunPageInteractions(self, action_runner):
- with action_runner.CreateGestureInteraction('ScrollAction'):
- action_runner.ScrollPage()
-
-
-class Alexa1To10000PageSet(story.StorySet):
- """ Top 1-10000 Alexa global.
- Generated on 2013-09-03 13:59:53.459117 by rmistry using
- create_page_set.py.
- """
-
- def __init__(self):
- super(Alexa1To10000PageSet, self).__init__()
-
- with open(_TOP_10000_ALEXA_FILE) as f:
- urls_list = json.load(f)
- for url in urls_list:
- self.AddStory(Alexa1To10000Page(url, self))
« no previous file with comments | « no previous file | tools/perf/page_sets/android_acceptance.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698