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 27 matching lines...) Expand all Loading... |
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 LegacyFastPathBenchmark(ThreadTimesFastPathMobileSites): |
44 """Same as thread_times.fast_path_mobile_sites but with the old name.""" | 44 """Same as thread_times.fast_path_mobile_sites but with the old name.""" |
45 @classmethod | 45 @classmethod |
46 def GetName(cls): | 46 def GetName(cls): |
47 return "fast_path.key_mobile_sites" | 47 return "fast_path.key_mobile_sites" |
| 48 |
| 49 |
| 50 class ThreadTimesPolymer(test.Test): |
| 51 """Measures timeline metrics while performing smoothness action on |
| 52 Polymer cases.""" |
| 53 test = thread_times.ThreadTimes |
| 54 page_set = "page_sets/polymer.py" |
| 55 options = { 'report_silk_results': True } |
OLD | NEW |