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

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

Issue 504003002: Add Youtube specific VP9 files to perf tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | tools/perf/page_sets/tough_video_cases/crowd1080_vp9.webm.sha1 » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fea64ddf342a6195f23b9741a402de48ea658e7b..84e0b298bbfd797cb5fa41cf7b502b6dc8eda5c4 100644
--- a/tools/perf/page_sets/tough_video_cases.py
+++ b/tools/perf/page_sets/tough_video_cases.py
@@ -438,6 +438,66 @@ class Page30(ToughVideoCasesPage):
def RunMediaMetrics(self, action_runner):
self.PlayAction(action_runner)
+class Page31(ToughVideoCasesPage):
+
+ def __init__(self, page_set):
+ super(Page31, self).__init__(
+ url='file://tough_video_cases/video.html?src=tulip2.vp9.webm',
+ page_set=page_set)
+
+ self.skip_basic_metrics = True
+
+ def RunMediaMetrics(self, action_runner):
+ self.SeekBeforeAndAfterPlayhead(action_runner)
+
+class Page32(ToughVideoCasesPage):
+
+ def __init__(self, page_set):
+ super(Page32, self).__init__(
+ url='file://tough_video_cases/video.html?src=crowd1080_vp9.webm',
+ page_set=page_set)
+
+ self.add_browser_metrics = True
+
+ def RunMediaMetrics(self, action_runner):
+ self.PlayAction(action_runner)
+
+class Page33(ToughVideoCasesPage):
+
+ def __init__(self, page_set):
+ super(Page33, self).__init__(
+ url='file://tough_video_cases/video.html?src=crowd1080_vp9.webm',
+ page_set=page_set)
+
+ self.skip_basic_metrics = True
+
+ def RunMediaMetrics(self, action_runner):
+ self.SeekBeforeAndAfterPlayhead(action_runner)
+
+class Page34(ToughVideoCasesPage):
+
+ def __init__(self, page_set):
+ super(Page34, self).__init__(
+ url='file://tough_video_cases/video.html?src=crowd720_vp9.webm',
+ page_set=page_set)
+
+ self.add_browser_metrics = True
+
+ def RunMediaMetrics(self, action_runner):
+ self.PlayAction(action_runner)
+
+class Page35(ToughVideoCasesPage):
+
+ def __init__(self, page_set):
+ super(Page35, self).__init__(
+ url='file://tough_video_cases/video.html?src=crowd720_vp9.webm',
+ page_set=page_set)
+
+ self.skip_basic_metrics = True
+
+ def RunMediaMetrics(self, action_runner):
+ self.SeekBeforeAndAfterPlayhead(action_runner)
+
class ToughVideoCasesPageSet(page_set_module.PageSet):
"""
@@ -477,3 +537,8 @@ class ToughVideoCasesPageSet(page_set_module.PageSet):
self.AddPage(Page28(self))
self.AddPage(Page29(self))
self.AddPage(Page30(self))
+ self.AddPage(Page31(self))
+ self.AddPage(Page32(self))
+ self.AddPage(Page33(self))
+ self.AddPage(Page34(self))
+ self.AddPage(Page35(self))
« no previous file with comments | « no previous file | tools/perf/page_sets/tough_video_cases/crowd1080_vp9.webm.sha1 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698