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

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

Issue 826113003: [Telemetry] Rename RunSmoothness to RunPageInteractions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/measurements/thread_times.py ('k') | tools/perf/page_sets/image_decoding_cases.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 from telemetry.page.page_set import PageSet 4 from telemetry.page.page_set import PageSet
5 from telemetry.page.page import Page 5 from telemetry.page.page import Page
6 6
7 7
8 class Alexa1To10000Page(Page): 8 class Alexa1To10000Page(Page):
9 9
10 def __init__(self, url, page_set): 10 def __init__(self, url, page_set):
11 super(Alexa1To10000Page, self).__init__(url=url, page_set=page_set) 11 super(Alexa1To10000Page, self).__init__(url=url, page_set=page_set)
12 12
13 def RunSmoothness(self, action_runner): 13 def RunPageInteractions(self, action_runner):
14 interaction = action_runner.BeginGestureInteraction( 14 interaction = action_runner.BeginGestureInteraction(
15 'ScrollAction', is_smooth=True) 15 'ScrollAction', is_smooth=True)
16 action_runner.ScrollPage() 16 action_runner.ScrollPage()
17 interaction.End() 17 interaction.End()
18 18
19 19
20 class Alexa1To10000PageSet(PageSet): 20 class Alexa1To10000PageSet(PageSet):
21 """ Top 1-10000 Alexa global. 21 """ Top 1-10000 Alexa global.
22 Generated on 2013-09-03 13:59:53.459117 by rmistry using 22 Generated on 2013-09-03 13:59:53.459117 by rmistry using
23 create_page_set.py. 23 create_page_set.py.
(...skipping 19344 matching lines...) Expand 10 before | Expand all | Expand 10 after
19368 # Why: #9996 in Alexa global 19368 # Why: #9996 in Alexa global
19369 'http://www.mastemplate.com/', 19369 'http://www.mastemplate.com/',
19370 # Why: #9997 in Alexa global 19370 # Why: #9997 in Alexa global
19371 'http://www.bolha.com/', 19371 'http://www.bolha.com/',
19372 # Why: #9998 in Alexa global 19372 # Why: #9998 in Alexa global
19373 'http://www.tastyplay.com/', 19373 'http://www.tastyplay.com/',
19374 # Why: #9999 in Alexa global 19374 # Why: #9999 in Alexa global
19375 'http://www.busuk.org/'] 19375 'http://www.busuk.org/']
19376 for url in urls_list: 19376 for url in urls_list:
19377 self.AddUserStory(Alexa1To10000Page(url, self)) 19377 self.AddUserStory(Alexa1To10000Page(url, self))
OLDNEW
« no previous file with comments | « tools/perf/measurements/thread_times.py ('k') | tools/perf/page_sets/image_decoding_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698