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

Side by Side Diff: tools/perf/benchmarks/battor.py

Issue 2744723003: Adding owners to benchmark tests (Closed)
Patch Set: rebasing Created 3 years, 9 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/benchmarks/blink_perf.py » ('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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 4
5 from core import perf_benchmark 5 from core import perf_benchmark
6 from telemetry.timeline import chrome_trace_category_filter 6 from telemetry.timeline import chrome_trace_category_filter
7 from telemetry.web_perf import timeline_based_measurement 7 from telemetry.web_perf import timeline_based_measurement
8 import page_sets 8 import page_sets
9 from telemetry import benchmark 9 from telemetry import benchmark
10 10
(...skipping 23 matching lines...) Expand all
34 @classmethod 34 @classmethod
35 def ShouldTearDownStateAfterEachStoryRun(cls): 35 def ShouldTearDownStateAfterEachStoryRun(cls):
36 return True 36 return True
37 37
38 38
39 # android: See battor.android.tough_video_cases below 39 # android: See battor.android.tough_video_cases below
40 # win8: crbug.com/531618 40 # win8: crbug.com/531618
41 # crbug.com/565180: Only include cases that report time_to_play 41 # crbug.com/565180: Only include cases that report time_to_play
42 # Taken directly from media benchmark. 42 # Taken directly from media benchmark.
43 @benchmark.Disabled('android', 'win8') 43 @benchmark.Disabled('android', 'win8')
44 @benchmark.Owner(emails=['charliea@chromium.org'])
44 class BattOrToughVideoCases(_BattOrBenchmark): 45 class BattOrToughVideoCases(_BattOrBenchmark):
45 """Obtains media metrics for key user scenarios.""" 46 """Obtains media metrics for key user scenarios."""
46 page_set = page_sets.ToughVideoCasesPageSet 47 page_set = page_sets.ToughVideoCasesPageSet
47 48
48 @classmethod 49 @classmethod
49 def Name(cls): 50 def Name(cls):
50 return 'battor.tough_video_cases' 51 return 'battor.tough_video_cases'
51 52
52 53
53 @benchmark.Enabled('mac') 54 @benchmark.Enabled('mac')
55 @benchmark.Owner(emails=['charliea@chromium.org'])
54 class BattOrTrivialPages(_BattOrBenchmark): 56 class BattOrTrivialPages(_BattOrBenchmark):
55 57
56 def CreateStorySet(self, options): 58 def CreateStorySet(self, options):
57 # We want it to wait for 30 seconds to be comparable to legacy power tests. 59 # We want it to wait for 30 seconds to be comparable to legacy power tests.
58 return page_sets.TrivialSitesStorySet(wait_in_seconds=30) 60 return page_sets.TrivialSitesStorySet(wait_in_seconds=30)
59 61
60 @classmethod 62 @classmethod
61 def Name(cls): 63 def Name(cls):
62 return 'battor.trivial_pages' 64 return 'battor.trivial_pages'
63 65
64 @benchmark.Enabled('mac') 66 @benchmark.Enabled('mac')
67 @benchmark.Owner(emails=['charliea@chromium.org'])
65 class BattOrSteadyStatePages(_BattOrBenchmark): 68 class BattOrSteadyStatePages(_BattOrBenchmark):
66 69
67 def CreateStorySet(self, options): 70 def CreateStorySet(self, options):
68 # We want it to wait for 30 seconds to be comparable to legacy power tests. 71 # We want it to wait for 30 seconds to be comparable to legacy power tests.
69 return page_sets.IdleAfterLoadingStories(wait_in_seconds=30) 72 return page_sets.IdleAfterLoadingStories(wait_in_seconds=30)
70 73
71 @classmethod 74 @classmethod
72 def Name(cls): 75 def Name(cls):
73 return 'battor.steady_state' 76 return 'battor.steady_state'
OLDNEW
« no previous file with comments | « no previous file | tools/perf/benchmarks/blink_perf.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698