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

Side by Side Diff: tools/perf/page_sets/tough_texture_upload_cases.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 import story 5 from telemetry import story
6 6
7 7
8 class ToughTextureUploadCasesPage(page_module.Page): 8 class ToughTextureUploadCasesPage(page_module.Page):
9 9
10 def __init__(self, url, page_set): 10 def __init__(self, url, page_set):
11 super( 11 super(
12 ToughTextureUploadCasesPage, 12 ToughTextureUploadCasesPage,
13 self).__init__( 13 self).__init__(
14 url=url, 14 url=url,
15 page_set=page_set, 15 page_set=page_set,
16 name=url.split('/')[-1]) 16 name=url.split('/')[-1])
17 17
18 def RunPageInteractions(self, action_runner): 18 def RunPageInteractions(self, action_runner):
19 with action_runner.CreateInteraction('Animation'): 19 with action_runner.CreateInteraction('Animation'):
20 action_runner.Wait(10) 20 action_runner.Wait(10)
21 21
22 22
23 class ToughTextureUploadCasesPageSet(story.StorySet): 23 class ToughTextureUploadCasesPageSet(story.StorySet):
24 24
25 """ 25 """
26 Description: A collection of texture upload performance tests 26 Description: A collection of texture upload performance tests
27 """ 27 """
28 28
29 def __init__(self): 29 def __init__(self):
30 super(ToughTextureUploadCasesPageSet, self).__init__(verify_names=True) 30 super(ToughTextureUploadCasesPageSet, self).__init__()
31 31
32 urls_list = [ 32 urls_list = [
33 'file://tough_texture_upload_cases/background_color_animation.html', 33 'file://tough_texture_upload_cases/background_color_animation.html',
34 # pylint: disable=line-too-long 34 # pylint: disable=line-too-long
35 'file://tough_texture_upload_cases/background_color_animation_with_gradien t.html', 35 'file://tough_texture_upload_cases/background_color_animation_with_gradien t.html',
36 'file://tough_texture_upload_cases/small_texture_uploads.html', 36 'file://tough_texture_upload_cases/small_texture_uploads.html',
37 'file://tough_texture_upload_cases/medium_texture_uploads.html', 37 'file://tough_texture_upload_cases/medium_texture_uploads.html',
38 'file://tough_texture_upload_cases/large_texture_uploads.html', 38 'file://tough_texture_upload_cases/large_texture_uploads.html',
39 # http://crbug.com/453131 - Our memory usage on low memory devices are 39 # http://crbug.com/453131 - Our memory usage on low memory devices are
40 # not constrained enough to run this page, disable until we are more 40 # not constrained enough to run this page, disable until we are more
41 # bounded on memory usage. 41 # bounded on memory usage.
42 # 'file://tough_texture_upload_cases/extra_large_texture_uploads.html', 42 # 'file://tough_texture_upload_cases/extra_large_texture_uploads.html',
43 ] 43 ]
44 for url in urls_list: 44 for url in urls_list:
45 self.AddStory(ToughTextureUploadCasesPage(url, self)) 45 self.AddStory(ToughTextureUploadCasesPage(url, self))
46 46
OLDNEW
« no previous file with comments | « tools/perf/page_sets/tough_scrolling_cases.py ('k') | tools/perf/page_sets/tough_video_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698