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

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

Issue 2941663002: Removing verify_names=True now that the default for verify_names is True (Closed)
Patch Set: 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 unified diff | Download patch
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 from telemetry.page import page as page_module 4 from telemetry.page import page as page_module
5 from telemetry.page import shared_page_state 5 from telemetry.page import shared_page_state
6 from telemetry import story 6 from telemetry import story
7 7
8 8
9 class SimplePage(page_module.Page): 9 class SimplePage(page_module.Page):
10 10
(...skipping 20 matching lines...) Expand all
31 with action_runner.CreateGestureInteraction('ScrollAction'): 31 with action_runner.CreateGestureInteraction('ScrollAction'):
32 action_runner.ScrollPage(direction='down', speed_in_pixels_per_second=300) 32 action_runner.ScrollPage(direction='down', speed_in_pixels_per_second=300)
33 33
34 class SimpleMobileSitesPageSet(story.StorySet): 34 class SimpleMobileSitesPageSet(story.StorySet):
35 35
36 """ Simple mobile sites """ 36 """ Simple mobile sites """
37 37
38 def __init__(self): 38 def __init__(self):
39 super(SimpleMobileSitesPageSet, self).__init__( 39 super(SimpleMobileSitesPageSet, self).__init__(
40 archive_data_file='data/simple_mobile_sites.json', 40 archive_data_file='data/simple_mobile_sites.json',
41 cloud_storage_bucket=story.PUBLIC_BUCKET, 41 cloud_storage_bucket=story.PUBLIC_BUCKET)
42 verify_names=True)
43 42
44 scroll_page_list = [ 43 scroll_page_list = [
45 # Why: Scrolls moderately complex pages (up to 60 layers) 44 # Why: Scrolls moderately complex pages (up to 60 layers)
46 'http://www.ebay.co.uk/', 45 'http://www.ebay.co.uk/',
47 'https://www.flickr.com/', 46 'https://www.flickr.com/',
48 'http://www.apple.com/mac/', 47 'http://www.apple.com/mac/',
49 'http://www.nyc.gov', 48 'http://www.nyc.gov',
50 'http://m.nytimes.com/' 49 'http://m.nytimes.com/'
51 ] 50 ]
52 51
53 for url in scroll_page_list: 52 for url in scroll_page_list:
54 self.AddStory(SimpleScrollPage(url, self)) 53 self.AddStory(SimpleScrollPage(url, self))
55 54
OLDNEW
« no previous file with comments | « tools/perf/page_sets/service_worker_micro_benchmark.py ('k') | tools/perf/page_sets/startup_pages.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698