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

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

Issue 2775883003: Port TBMv2-based media benchmark to Android (Closed)
Patch Set: Tag smpte_3840x2160_60fps_vp9.webm with is_4k Created 3 years, 8 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/benchmarks/media.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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 ToughVideoCasesPage(page_module.Page): 8 class ToughVideoCasesPage(page_module.Page):
9 9
10 def __init__(self, url, page_set, tags=None): 10 def __init__(self, url, page_set, tags=None):
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 488
489 def RunPageInteractions(self, action_runner): 489 def RunPageInteractions(self, action_runner):
490 self.SeekBeforeAndAfterPlayhead(action_runner) 490 self.SeekBeforeAndAfterPlayhead(action_runner)
491 491
492 class Page36(ToughVideoCasesPage): 492 class Page36(ToughVideoCasesPage):
493 493
494 def __init__(self, page_set): 494 def __init__(self, page_set):
495 super(Page36, self).__init__( 495 super(Page36, self).__init__(
496 url=('file://tough_video_cases/video.html?src=' 496 url=('file://tough_video_cases/video.html?src='
497 'smpte_3840x2160_60fps_vp9.webm'), 497 'smpte_3840x2160_60fps_vp9.webm'),
498 page_set=page_set) 498 page_set=page_set, tags=['is_4k'])
499 499
500 self.add_browser_metrics = True 500 self.add_browser_metrics = True
501 501
502 def RunPageInteractions(self, action_runner): 502 def RunPageInteractions(self, action_runner):
503 self.SeekBeforeAndAfterPlayhead(action_runner, 503 self.SeekBeforeAndAfterPlayhead(action_runner,
504 action_timeout_in_seconds=120) 504 action_timeout_in_seconds=120)
505 505
506 class Page37(ToughVideoCasesPage): 506 class Page37(ToughVideoCasesPage):
507 507
508 def __init__(self, page_set): 508 def __init__(self, page_set):
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 self.AddStory(Page23(self)) 603 self.AddStory(Page23(self))
604 self.AddStory(Page24(self)) 604 self.AddStory(Page24(self))
605 self.AddStory(Page25(self)) 605 self.AddStory(Page25(self))
606 self.AddStory(Page26(self)) 606 self.AddStory(Page26(self))
607 self.AddStory(Page27(self)) 607 self.AddStory(Page27(self))
608 self.AddStory(Page28(self)) 608 self.AddStory(Page28(self))
609 self.AddStory(Page29(self)) 609 self.AddStory(Page29(self))
610 self.AddStory(Page31(self)) 610 self.AddStory(Page31(self))
611 self.AddStory(Page33(self)) 611 self.AddStory(Page33(self))
612 self.AddStory(Page35(self)) 612 self.AddStory(Page35(self))
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/media.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698