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

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

Issue 1083073003: Add a 4k 60 fps vp9 smpte bars video to telemetry tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Default to 0 if metric is not present in dict. Created 5 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
Index: tools/perf/page_sets/tough_video_cases.py
diff --git a/tools/perf/page_sets/tough_video_cases.py b/tools/perf/page_sets/tough_video_cases.py
index 158683ad318b27a4d2730b0a85056fa77bcdc8b9..7c42d98a50b2308510133a01a772eae6e6f8c588 100644
--- a/tools/perf/page_sets/tough_video_cases.py
+++ b/tools/perf/page_sets/tough_video_cases.py
@@ -485,6 +485,19 @@ class Page35(ToughVideoCasesPage):
def RunPageInteractions(self, action_runner):
self.SeekBeforeAndAfterPlayhead(action_runner)
+class Page36(ToughVideoCasesPage):
+
+ def __init__(self, page_set):
+ super(Page36, self).__init__(
+ url=('file://tough_video_cases/video.html?src='
+ 'smpte_3840x2160_60fps_vp9.webm'),
+ page_set=page_set)
+
+ self.add_browser_metrics = True
+
+ def RunPageInteractions(self, action_runner):
+ self.SeekBeforeAndAfterPlayhead(action_runner)
+
class ToughVideoCasesPageSet(page_set_module.PageSet):
"""
@@ -529,3 +542,4 @@ class ToughVideoCasesPageSet(page_set_module.PageSet):
self.AddUserStory(Page33(self))
self.AddUserStory(Page34(self))
self.AddUserStory(Page35(self))
+ self.AddUserStory(Page36(self))
« no previous file with comments | « tools/perf/metrics/system_memory.py ('k') | tools/perf/page_sets/tough_video_cases/smpte_3840x2160_60fps_vp9.webm.sha1 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698