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

Side by Side 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, 3 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 | « no previous file | tools/perf/page_sets/tough_video_cases/crowd1080_vp9.webm.sha1 » ('j') | 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.page import page_set as page_set_module 5 from telemetry.page import page_set as page_set_module
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): 10 def __init__(self, url, page_set):
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 def __init__(self, page_set): 431 def __init__(self, page_set):
432 super(Page30, self).__init__( 432 super(Page30, self).__init__(
433 url='file://tough_video_cases/video.html?src=tulip2.vp9.webm', 433 url='file://tough_video_cases/video.html?src=tulip2.vp9.webm',
434 page_set=page_set) 434 page_set=page_set)
435 435
436 self.add_browser_metrics = True 436 self.add_browser_metrics = True
437 437
438 def RunMediaMetrics(self, action_runner): 438 def RunMediaMetrics(self, action_runner):
439 self.PlayAction(action_runner) 439 self.PlayAction(action_runner)
440 440
441 class Page31(ToughVideoCasesPage):
442
443 def __init__(self, page_set):
444 super(Page31, self).__init__(
445 url='file://tough_video_cases/video.html?src=tulip2.vp9.webm',
446 page_set=page_set)
447
448 self.skip_basic_metrics = True
449
450 def RunMediaMetrics(self, action_runner):
451 self.SeekBeforeAndAfterPlayhead(action_runner)
452
453 class Page32(ToughVideoCasesPage):
454
455 def __init__(self, page_set):
456 super(Page32, self).__init__(
457 url='file://tough_video_cases/video.html?src=crowd1080_vp9.webm',
458 page_set=page_set)
459
460 self.add_browser_metrics = True
461
462 def RunMediaMetrics(self, action_runner):
463 self.PlayAction(action_runner)
464
465 class Page33(ToughVideoCasesPage):
466
467 def __init__(self, page_set):
468 super(Page33, self).__init__(
469 url='file://tough_video_cases/video.html?src=crowd1080_vp9.webm',
470 page_set=page_set)
471
472 self.skip_basic_metrics = True
473
474 def RunMediaMetrics(self, action_runner):
475 self.SeekBeforeAndAfterPlayhead(action_runner)
476
477 class Page34(ToughVideoCasesPage):
478
479 def __init__(self, page_set):
480 super(Page34, self).__init__(
481 url='file://tough_video_cases/video.html?src=crowd720_vp9.webm',
482 page_set=page_set)
483
484 self.add_browser_metrics = True
485
486 def RunMediaMetrics(self, action_runner):
487 self.PlayAction(action_runner)
488
489 class Page35(ToughVideoCasesPage):
490
491 def __init__(self, page_set):
492 super(Page35, self).__init__(
493 url='file://tough_video_cases/video.html?src=crowd720_vp9.webm',
494 page_set=page_set)
495
496 self.skip_basic_metrics = True
497
498 def RunMediaMetrics(self, action_runner):
499 self.SeekBeforeAndAfterPlayhead(action_runner)
500
441 class ToughVideoCasesPageSet(page_set_module.PageSet): 501 class ToughVideoCasesPageSet(page_set_module.PageSet):
442 502
443 """ 503 """
444 Description: Video Stack Perf benchmark 504 Description: Video Stack Perf benchmark
445 """ 505 """
446 def __init__(self): 506 def __init__(self):
447 super(ToughVideoCasesPageSet, self).__init__( 507 super(ToughVideoCasesPageSet, self).__init__(
448 bucket=page_set_module.INTERNAL_BUCKET) 508 bucket=page_set_module.INTERNAL_BUCKET)
449 509
450 self.AddPage(Page1(self)) 510 self.AddPage(Page1(self))
(...skipping 19 matching lines...) Expand all
470 self.AddPage(Page21(self)) 530 self.AddPage(Page21(self))
471 self.AddPage(Page22(self)) 531 self.AddPage(Page22(self))
472 self.AddPage(Page23(self)) 532 self.AddPage(Page23(self))
473 self.AddPage(Page24(self)) 533 self.AddPage(Page24(self))
474 self.AddPage(Page25(self)) 534 self.AddPage(Page25(self))
475 self.AddPage(Page26(self)) 535 self.AddPage(Page26(self))
476 self.AddPage(Page27(self)) 536 self.AddPage(Page27(self))
477 self.AddPage(Page28(self)) 537 self.AddPage(Page28(self))
478 self.AddPage(Page29(self)) 538 self.AddPage(Page29(self))
479 self.AddPage(Page30(self)) 539 self.AddPage(Page30(self))
540 self.AddPage(Page31(self))
541 self.AddPage(Page32(self))
542 self.AddPage(Page33(self))
543 self.AddPage(Page34(self))
544 self.AddPage(Page35(self))
OLDNEW
« 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