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

Side by Side Diff: tools/perf/page_sets/dual_browser_story.py

Issue 2138133003: [perf] Change google.com to google.co.uk in top_10_mobile_memory and dual_browser page sets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed an unnecessary comment. Created 4 years, 5 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
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 4
5 import collections 5 import collections
6 import logging 6 import logging
7 import re 7 import re
8 import sys 8 import sys
9 import urllib 9 import urllib
10 10
11 from telemetry import decorators 11 from telemetry import decorators
12 from telemetry import story as story_module 12 from telemetry import story as story_module
13 # TODO(perezju): Remove references to telementry.internal when 13 # TODO(perezju): Remove references to telementry.internal when
14 # https://github.com/catapult-project/catapult/issues/2102 is resolved. 14 # https://github.com/catapult-project/catapult/issues/2102 is resolved.
15 from telemetry.internal.browser import browser_finder 15 from telemetry.internal.browser import browser_finder
16 from telemetry.internal.browser import browser_finder_exceptions 16 from telemetry.internal.browser import browser_finder_exceptions
17 from telemetry.util import wpr_modes 17 from telemetry.util import wpr_modes
18 18
19 from page_sets.top_10_mobile import URL_LIST 19 from page_sets.top_10_mobile import URL_LIST
20 20
21 21
22 GOOGLE_SEARCH = 'https://www.google.com/search?' 22 GOOGLE_SEARCH = 'https://www.google.co.uk/search?'
23 23
24 SEARCH_QUERIES = [ 24 SEARCH_QUERIES = [
25 'science', 25 'science',
26 'cat pictures', 26 'cat pictures',
27 '1600 Amphitheatre Pkwy, Mountain View, CA', 27 '1600 Amphitheatre Pkwy, Mountain View, CA',
28 'tom hanks', 28 'tom hanks',
29 'weather 94110', 29 'weather 94110',
30 'goog', 30 'goog',
31 'population of california', 31 'population of california',
32 'sfo jfk flights', 32 'sfo jfk flights',
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 url=GOOGLE_SEARCH + urllib.urlencode({'q': query}), 258 url=GOOGLE_SEARCH + urllib.urlencode({'q': query}),
259 browser_type='android-webview', 259 browser_type='android-webview',
260 phase='on_webview')) 260 phase='on_webview'))
261 261
262 # Stories that run on the browser selected by command line options. 262 # Stories that run on the browser selected by command line options.
263 self.AddStory(SinglePage( 263 self.AddStory(SinglePage(
264 name=re.sub('\W+', '_', url), 264 name=re.sub('\W+', '_', url),
265 url=url, 265 url=url,
266 browser_type='default', 266 browser_type='default',
267 phase='on_chrome')) 267 phase='on_chrome'))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/data/top_10_mobile_004.wpr.sha1 ('k') | tools/perf/page_sets/text_selection_sites.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698