OLD | NEW |
---|---|
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 class ThreadTimesKeySilkCases(test.Test): | 10 class ThreadTimesKeySilkCases(test.Test): |
(...skipping 22 matching lines...) Expand all Loading... | |
33 return "silk.key_silk_cases" | 33 return "silk.key_silk_cases" |
34 | 34 |
35 class ThreadTimesFastPathMobileSites(test.Test): | 35 class ThreadTimesFastPathMobileSites(test.Test): |
36 """Measures timeline metrics while performing smoothness action on | 36 """Measures timeline metrics while performing smoothness action on |
37 key mobile sites labeled with fast-path tag. | 37 key mobile sites labeled with fast-path tag. |
38 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 38 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
39 test = thread_times.ThreadTimes | 39 test = thread_times.ThreadTimes |
40 page_set = 'page_sets/key_mobile_sites.py' | 40 page_set = 'page_sets/key_mobile_sites.py' |
41 options = {'page_label_filter' : 'fastpath'} | 41 options = {'page_label_filter' : 'fastpath'} |
42 | 42 |
43 class LegacyFastPathBenchmark(ThreadTimesFastPathMobileSites): | 43 class ThreadTimesCompositorCases(test.Test): |
dtu
2014/05/09 00:05:39
nit: two blank lines between top-level blocks
| |
44 """Same as thread_times.fast_path_mobile_sites but with the old name.""" | 44 """Measures timeline metrics while performing smoothness action on |
45 @classmethod | 45 tough compositor cases. |
46 def GetName(cls): | 46 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
47 return "fast_path.key_mobile_sites" | 47 test = thread_times.ThreadTimes |
48 | 48 page_set = 'page_sets/tough_compositor_cases.py' |
49 | 49 |
50 @test.Enabled('android') | 50 @test.Enabled('android') |
51 class ThreadTimesPolymer(test.Test): | 51 class ThreadTimesPolymer(test.Test): |
52 """Measures timeline metrics while performing smoothness action on | 52 """Measures timeline metrics while performing smoothness action on |
53 Polymer cases.""" | 53 Polymer cases.""" |
54 test = thread_times.ThreadTimes | 54 test = thread_times.ThreadTimes |
55 page_set = "page_sets/polymer.py" | 55 page_set = "page_sets/polymer.py" |
56 options = { 'report_silk_results': True } | 56 options = { 'report_silk_results': True } |
OLD | NEW |