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

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

Issue 2931693002: Explicitly set names for remaining stories in v8 benchmarks (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
« no previous file with comments | « tools/perf/page_sets/infinite_scroll_cases.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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 V8Top25(page_module.Page): 8 class V8Top25(page_module.Page):
9 9
10 def __init__(self, url, page_set, name=''): 10 def __init__(self, url, page_set, name=''):
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 61
62 class V8Top25StorySet(story.StorySet): 62 class V8Top25StorySet(story.StorySet):
63 """~25 of top pages, used for v8 testing. They represent popular websites as 63 """~25 of top pages, used for v8 testing. They represent popular websites as
64 well as other pages the V8 team wants to track due to their unique 64 well as other pages the V8 team wants to track due to their unique
65 characteristics.""" 65 characteristics."""
66 66
67 def __init__(self): 67 def __init__(self):
68 super(V8Top25StorySet, self).__init__( 68 super(V8Top25StorySet, self).__init__(
69 archive_data_file='data/v8_top_25.json', 69 archive_data_file='data/v8_top_25.json',
70 cloud_storage_bucket=story.INTERNAL_BUCKET) 70 cloud_storage_bucket=story.INTERNAL_BUCKET,
71 verify_names=True)
71 72
72 for url in urls_list: 73 for url in urls_list:
73 self.AddStory(V8Top25(url, self)) 74 self.AddStory(V8Top25(url, self, url))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/infinite_scroll_cases.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698