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

Unified Diff: tools/perf/page_sets/image_decoding_measurement.py

Issue 2919073002: Explicitly setting story names for image_decoding_measurement story set. (Closed)
Patch Set: Explicitly setting story names for image_decoding_measurement story set. Created 3 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/image_decoding_measurement.py
diff --git a/tools/perf/page_sets/image_decoding_measurement.py b/tools/perf/page_sets/image_decoding_measurement.py
index e101fff9d2ad65d1da22afaca7b6a8370932ed92..24325b59ae1df5ecb0832ff34c6c2f914ebf0a7a 100644
--- a/tools/perf/page_sets/image_decoding_measurement.py
+++ b/tools/perf/page_sets/image_decoding_measurement.py
@@ -7,9 +7,10 @@ from telemetry import story
class ImageDecodingMeasurementPage(page_module.Page):
- def __init__(self, url, page_set):
+ def __init__(self, url, page_set, name):
super(ImageDecodingMeasurementPage, self).__init__(url=url,
- page_set=page_set)
+ page_set=page_set,
+ name=name)
self.image_decoding_measurement_limit_results_to_min_iterations = True
def RunNavigateSteps(self, action_runner):
@@ -23,7 +24,7 @@ class ImageDecodingMeasurementPageSet(story.StorySet):
""" A directed benchmark of image decoding performance """
def __init__(self):
- super(ImageDecodingMeasurementPageSet, self).__init__()
+ super(ImageDecodingMeasurementPageSet, self).__init__(verify_names=True)
self.image_decoding_measurement_limit_results_to_min_iterations = True
urls_list = [
@@ -34,4 +35,4 @@ class ImageDecodingMeasurementPageSet(story.StorySet):
]
for url in urls_list:
- self.AddStory(ImageDecodingMeasurementPage(url, self))
+ self.AddStory(ImageDecodingMeasurementPage(url, self, url.split('/')[-1]))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698