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

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

Issue 2926633002: Explicitly setting story names for all smoothness benchmarks (Closed)
Patch Set: Explicitly setting story names for all smoothness benchmarks 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 class ToughImageDecodeCasesPage(page_module.Page): 8 class ToughImageDecodeCasesPage(page_module.Page):
9 9
10 def __init__(self, url, name, page_set): 10 def __init__(self, url, name, page_set):
(...skipping 13 matching lines...) Expand all
24 24
25 class ToughImageDecodeCasesPageSet(story.StorySet): 25 class ToughImageDecodeCasesPageSet(story.StorySet):
26 26
27 """ 27 """
28 Description: A collection of difficult image decode tests 28 Description: A collection of difficult image decode tests
29 """ 29 """
30 30
31 def __init__(self): 31 def __init__(self):
32 super(ToughImageDecodeCasesPageSet, self).__init__( 32 super(ToughImageDecodeCasesPageSet, self).__init__(
33 archive_data_file='data/tough_image_decode_cases.json', 33 archive_data_file='data/tough_image_decode_cases.json',
34 cloud_storage_bucket=story.PUBLIC_BUCKET) 34 cloud_storage_bucket=story.PUBLIC_BUCKET,
35 verify_names=True)
35 36
36 page_name_list = [ 37 page_name_list = [
37 'http://localhost:9000/cats-unscaled.html', 38 'http://localhost:9000/cats-unscaled.html',
38 'http://localhost:9000/cats-viewport-width.html' 39 'http://localhost:9000/cats-viewport-width.html'
39 ] 40 ]
40 41
41 for name in page_name_list: 42 for name in page_name_list:
42 self.AddStory(ToughImageDecodeCasesPage( 43 self.AddStory(ToughImageDecodeCasesPage(
43 name, name, self)) 44 name, name, self))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/tough_filters_cases.py ('k') | tools/perf/page_sets/tough_path_rendering_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698