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

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

Issue 250813002: Telemetry: Add a reduced compositor cases page set. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Whitespace Created 6 years, 7 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/data/tough_compositor_cases.json » ('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 import test 4 from telemetry import test
5 5
6 from benchmarks import silk_flags 6 from benchmarks import silk_flags
7 from measurements import thread_times 7 from measurements import thread_times
8 8
9 9
10 @test.Disabled('android') # crbug.com/355952 10 @test.Disabled('android') # crbug.com/355952
(...skipping 16 matching lines...) Expand all
27 def CustomizeBrowserOptions(self, options): 27 def CustomizeBrowserOptions(self, options):
28 silk_flags.CustomizeBrowserOptionsForFastPath(options) 28 silk_flags.CustomizeBrowserOptionsForFastPath(options)
29 29
30 30
31 class LegacySilkBenchmark(ThreadTimesKeySilkCases): 31 class LegacySilkBenchmark(ThreadTimesKeySilkCases):
32 """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."""
33 @classmethod 33 @classmethod
34 def GetName(cls): 34 def GetName(cls):
35 return "silk.key_silk_cases" 35 return "silk.key_silk_cases"
36 36
37
37 class ThreadTimesFastPathMobileSites(test.Test): 38 class ThreadTimesFastPathMobileSites(test.Test):
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.
40 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 41 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
41 test = thread_times.ThreadTimes 42 test = thread_times.ThreadTimes
42 page_set = 'page_sets/key_mobile_sites.py' 43 page_set = 'page_sets/key_mobile_sites.py'
43 options = {'page_label_filter' : 'fastpath'} 44 options = {'page_label_filter' : 'fastpath'}
44 45
45 class LegacyFastPathBenchmark(ThreadTimesFastPathMobileSites): 46
46 """Same as thread_times.fast_path_mobile_sites but with the old name.""" 47 class ThreadTimesCompositorCases(test.Test):
47 @classmethod 48 """Measures timeline metrics while performing smoothness action on
48 def GetName(cls): 49 tough compositor cases.
49 return "fast_path.key_mobile_sites" 50 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
51 test = thread_times.ThreadTimes
52 page_set = 'page_sets/tough_compositor_cases.py'
50 53
51 54
52 @test.Enabled('android') 55 @test.Enabled('android')
53 class ThreadTimesPolymer(test.Test): 56 class ThreadTimesPolymer(test.Test):
54 """Measures timeline metrics while performing smoothness action on 57 """Measures timeline metrics while performing smoothness action on
55 Polymer cases.""" 58 Polymer cases."""
56 test = thread_times.ThreadTimes 59 test = thread_times.ThreadTimes
57 page_set = "page_sets/polymer.py" 60 page_set = "page_sets/polymer.py"
58 options = { 'report_silk_results': True } 61 options = { 'report_silk_results': True }
OLDNEW
« no previous file with comments | « no previous file | tools/perf/page_sets/data/tough_compositor_cases.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698