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

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

Issue 1612333002: Add media.tough_video_cases_reduced (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Factor out seldom used cases into media.tough_video_cases_extra Created 4 years, 11 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, labels=None): 10 def __init__(self, url, page_set, labels=None):
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 page_set=page_set) 542 page_set=page_set)
543 543
544 self.add_browser_metrics = True 544 self.add_browser_metrics = True
545 self.is_50fps = True 545 self.is_50fps = True
546 546
547 def RunPageInteractions(self, action_runner): 547 def RunPageInteractions(self, action_runner):
548 self.PlayAction(action_runner) 548 self.PlayAction(action_runner)
549 549
550 class ToughVideoCasesPageSet(story.StorySet): 550 class ToughVideoCasesPageSet(story.StorySet):
551 """ 551 """
552 Description: Video Stack Perf benchmark 552 Description: Video Stack Perf benchmark that report time_to_play.
553 """ 553 """
554 def __init__(self): 554 def __init__(self):
555 super(ToughVideoCasesPageSet, self).__init__( 555 super(ToughVideoCasesPageSet, self).__init__(
556 cloud_storage_bucket=story.PARTNER_BUCKET) 556 cloud_storage_bucket=story.PARTNER_BUCKET)
557 557
558 self.AddStory(Page1(self)) 558 self.AddStory(Page1(self))
559 self.AddStory(Page2(self)) 559 self.AddStory(Page2(self))
560 self.AddStory(Page3(self)) 560 self.AddStory(Page3(self))
561 self.AddStory(Page4(self)) 561 self.AddStory(Page4(self))
562 self.AddStory(Page5(self)) 562 self.AddStory(Page5(self))
563 self.AddStory(Page6(self)) 563 self.AddStory(Page6(self))
564 self.AddStory(Page7(self)) 564 self.AddStory(Page7(self))
565 self.AddStory(Page8(self)) 565 self.AddStory(Page8(self))
566 self.AddStory(Page9(self)) 566 self.AddStory(Page9(self))
567 self.AddStory(Page10(self)) 567 self.AddStory(Page10(self))
568 self.AddStory(Page11(self)) 568 self.AddStory(Page11(self))
569 self.AddStory(Page12(self)) 569 self.AddStory(Page12(self))
570 self.AddStory(Page13(self)) 570 self.AddStory(Page13(self))
571 self.AddStory(Page14(self)) 571 self.AddStory(Page14(self))
572 self.AddStory(Page15(self)) 572 self.AddStory(Page15(self))
573 self.AddStory(Page16(self)) 573 self.AddStory(Page16(self))
574 self.AddStory(Page17(self)) 574 self.AddStory(Page17(self))
575 self.AddStory(Page18(self)) 575 self.AddStory(Page18(self))
576 self.AddStory(Page30(self))
577 self.AddStory(Page32(self))
578 self.AddStory(Page34(self))
579 self.AddStory(Page36(self))
580 self.AddStory(Page37(self))
581 self.AddStory(Page38(self))
582 self.AddStory(Page39(self))
583 self.AddStory(Page40(self))
584
585
586 class ToughVideoCasesExtraPageSet(story.StorySet):
587 """
588 Description: Video Stack Perf benchmark that don't report time_to_play.
589 """
590 def __init__(self):
591 super(ToughVideoCasesExtraPageSet, self).__init__(
592 cloud_storage_bucket=story.PARTNER_BUCKET)
593
576 self.AddStory(Page19(self)) 594 self.AddStory(Page19(self))
577 self.AddStory(Page20(self)) 595 self.AddStory(Page20(self))
578 self.AddStory(Page21(self)) 596 self.AddStory(Page21(self))
579 self.AddStory(Page22(self)) 597 self.AddStory(Page22(self))
580 self.AddStory(Page23(self)) 598 self.AddStory(Page23(self))
581 self.AddStory(Page24(self)) 599 self.AddStory(Page24(self))
582 self.AddStory(Page25(self)) 600 self.AddStory(Page25(self))
583 self.AddStory(Page26(self)) 601 self.AddStory(Page26(self))
584 self.AddStory(Page27(self)) 602 self.AddStory(Page27(self))
585 self.AddStory(Page28(self)) 603 self.AddStory(Page28(self))
586 self.AddStory(Page29(self)) 604 self.AddStory(Page29(self))
587 self.AddStory(Page30(self))
588 self.AddStory(Page31(self)) 605 self.AddStory(Page31(self))
589 self.AddStory(Page32(self))
590 self.AddStory(Page33(self)) 606 self.AddStory(Page33(self))
591 self.AddStory(Page34(self))
592 self.AddStory(Page35(self)) 607 self.AddStory(Page35(self))
593 self.AddStory(Page36(self))
594 self.AddStory(Page37(self))
595 self.AddStory(Page38(self))
596 self.AddStory(Page39(self))
597 self.AddStory(Page40(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