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

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

Issue 335923007: [Telemetry] Make our Enabled/Disabled annotations match what the bots run. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: yar (yet another rebase) Created 6 years, 5 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/startup.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 import benchmark
5 4
6 from benchmarks import silk_flags 5 from benchmarks import silk_flags
7 from measurements import thread_times 6 from measurements import thread_times
8 import page_sets 7 import page_sets
8 from telemetry import benchmark
9 9
10 10
11 class ThreadTimesKeySilkCases(benchmark.Benchmark): 11 class ThreadTimesKeySilkCases(benchmark.Benchmark):
12 """Measures timeline metrics while performing smoothness action on key silk 12 """Measures timeline metrics while performing smoothness action on key silk
13 cases.""" 13 cases."""
14 test = thread_times.ThreadTimes 14 test = thread_times.ThreadTimes
15 page_set = page_sets.KeySilkCasesPageSet 15 page_set = page_sets.KeySilkCasesPageSet
16 options = {"report_silk_results": True} 16 options = {"report_silk_results": True}
17 17
18 18
19 class ThreadTimesFastPathKeySilkCases(benchmark.Benchmark): 19 class ThreadTimesFastPathKeySilkCases(benchmark.Benchmark):
20 """Measures timeline metrics while performing smoothness action on key silk 20 """Measures timeline metrics while performing smoothness action on key silk
21 cases using bleeding edge rendering fast paths.""" 21 cases using bleeding edge rendering fast paths."""
22 tag = 'fast_path' 22 tag = 'fast_path'
23 test = thread_times.ThreadTimes 23 test = thread_times.ThreadTimes
24 page_set = page_sets.KeySilkCasesPageSet 24 page_set = page_sets.KeySilkCasesPageSet
25 options = {"report_silk_results": True} 25 options = {"report_silk_results": True}
26 def CustomizeBrowserOptions(self, options): 26 def CustomizeBrowserOptions(self, options):
27 silk_flags.CustomizeBrowserOptionsForFastPath(options) 27 silk_flags.CustomizeBrowserOptionsForFastPath(options)
28 28
29 29
30 @benchmark.Disabled
30 class LegacySilkBenchmark(ThreadTimesKeySilkCases): 31 class LegacySilkBenchmark(ThreadTimesKeySilkCases):
31 """Same as thread_times.key_silk_cases but with the old name.""" 32 """Same as thread_times.key_silk_cases but with the old name."""
32 @classmethod 33 @classmethod
33 def GetName(cls): 34 def GetName(cls):
34 return "silk.key_silk_cases" 35 return "silk.key_silk_cases"
35 36
36 37
37 class ThreadTimesFastPathMobileSites(benchmark.Benchmark): 38 class ThreadTimesFastPathMobileSites(benchmark.Benchmark):
38 """Measures timeline metrics while performing smoothness action on 39 """Measures timeline metrics while performing smoothness action on
39 key mobile sites labeled with fast-path tag. 40 key mobile sites labeled with fast-path tag.
(...skipping 11 matching lines...) Expand all
51 page_set = page_sets.ToughCompositorCasesPageSet 52 page_set = page_sets.ToughCompositorCasesPageSet
52 53
53 54
54 @benchmark.Enabled('android') 55 @benchmark.Enabled('android')
55 class ThreadTimesPolymer(benchmark.Benchmark): 56 class ThreadTimesPolymer(benchmark.Benchmark):
56 """Measures timeline metrics while performing smoothness action on 57 """Measures timeline metrics while performing smoothness action on
57 Polymer cases.""" 58 Polymer cases."""
58 test = thread_times.ThreadTimes 59 test = thread_times.ThreadTimes
59 page_set = page_sets.PolymerPageSet 60 page_set = page_sets.PolymerPageSet
60 options = { 'report_silk_results': True } 61 options = { 'report_silk_results': True }
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/startup.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698