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

Side by Side Diff: tools/perf/page_sets/alexa1-10000.py

Issue 1029263003: [telemetry] Sort imports in Telemetry and its dependents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ensure we're up to date. Created 5 years, 9 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 unified diff | Download patch
« no previous file with comments | « tools/perf/metrics/webrtc_stats_unittest.py ('k') | tools/perf/page_sets/maps.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 import json 4 import json
5 import os 5 import os
6 6
7 from telemetry.page.page import Page
7 from telemetry.page.page_set import PageSet 8 from telemetry.page.page_set import PageSet
8 from telemetry.page.page import Page
9 9
10 10
11 __location__ = os.path.realpath( 11 __location__ = os.path.realpath(
12 os.path.join(os.getcwd(), os.path.dirname(__file__))) 12 os.path.join(os.getcwd(), os.path.dirname(__file__)))
13 13
14 # Generated on 2013-09-03 13:59:53.459117 by rmistry using 14 # Generated on 2013-09-03 13:59:53.459117 by rmistry using
15 # create_page_set.py. 15 # create_page_set.py.
16 _TOP_10000_ALEXA_FILE = os.path.join(__location__, 'alexa1-10000-urls.json') 16 _TOP_10000_ALEXA_FILE = os.path.join(__location__, 'alexa1-10000-urls.json')
17 17
18 18
(...skipping 15 matching lines...) Expand all
34 create_page_set.py. 34 create_page_set.py.
35 """ 35 """
36 36
37 def __init__(self): 37 def __init__(self):
38 super(Alexa1To10000PageSet, self).__init__(user_agent_type='desktop') 38 super(Alexa1To10000PageSet, self).__init__(user_agent_type='desktop')
39 39
40 with open(_TOP_10000_ALEXA_FILE) as f: 40 with open(_TOP_10000_ALEXA_FILE) as f:
41 urls_list = json.load(f) 41 urls_list = json.load(f)
42 for url in urls_list: 42 for url in urls_list:
43 self.AddUserStory(Alexa1To10000Page(url, self)) 43 self.AddUserStory(Alexa1To10000Page(url, self))
OLDNEW
« no previous file with comments | « tools/perf/metrics/webrtc_stats_unittest.py ('k') | tools/perf/page_sets/maps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698