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

Unified Diff: tools/perf/page_sets/tough_canvas_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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/perf/page_sets/tough_animation_cases.py ('k') | tools/perf/page_sets/tough_filters_cases.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/tough_canvas_cases.py
diff --git a/tools/perf/page_sets/tough_canvas_cases.py b/tools/perf/page_sets/tough_canvas_cases.py
index 28ce0bb8158ccb82cf0d4b72cd7513612d09b51a..d9b50b00b43b649565fe12de1837e3837b73da34 100644
--- a/tools/perf/page_sets/tough_canvas_cases.py
+++ b/tools/perf/page_sets/tough_canvas_cases.py
@@ -8,7 +8,11 @@ from telemetry import story
class ToughCanvasCasesPage(page_module.Page):
def __init__(self, url, page_set):
- super(ToughCanvasCasesPage, self).__init__(url=url, page_set=page_set)
+ name = url
+ if not url.startswith('http'):
+ name = url[7:]
+ super(ToughCanvasCasesPage, self).__init__(url=url, page_set=page_set,
+ name=name)
self.archive_data_file = 'data/tough_canvas_cases.json'
def RunNavigateSteps(self, action_runner):
@@ -39,7 +43,8 @@ class ToughCanvasCasesPageSet(story.StorySet):
def __init__(self):
super(ToughCanvasCasesPageSet, self).__init__(
archive_data_file='data/tough_canvas_cases.json',
- cloud_storage_bucket=story.PARTNER_BUCKET)
+ cloud_storage_bucket=story.PARTNER_BUCKET,
+ verify_names=True)
# Crashes on Galaxy Nexus. crbug.com/314131
# self.AddStory(MicrosofFirefliesPage(self))
« no previous file with comments | « tools/perf/page_sets/tough_animation_cases.py ('k') | tools/perf/page_sets/tough_filters_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698