OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 telemetry import benchmark | 5 from telemetry import benchmark |
6 | 6 |
7 from measurements import rasterize_and_record_micro | 7 from measurements import rasterize_and_record_micro |
8 import page_sets | 8 import page_sets |
9 | 9 |
10 | 10 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 page_set = page_sets.Top25PageSet | 51 page_set = page_sets.Top25PageSet |
52 | 52 |
53 @classmethod | 53 @classmethod |
54 def Name(cls): | 54 def Name(cls): |
55 return 'rasterize_and_record_micro.top_25_smooth' | 55 return 'rasterize_and_record_micro.top_25_smooth' |
56 | 56 |
57 | 57 |
58 # RasterizeAndRecord disabled on mac because of crbug.com/350684. | 58 # RasterizeAndRecord disabled on mac because of crbug.com/350684. |
59 # RasterizeAndRecord disabled on windows because of crbug.com/338057. | 59 # RasterizeAndRecord disabled on windows because of crbug.com/338057. |
60 # Slimming paint version disabled on android because of crbug.com/472590. | 60 # Slimming paint version disabled on android because of crbug.com/472590. |
61 @benchmark.Disabled('mac', 'win', 'android') | 61 #@benchmark.Disabled('mac', 'win', 'android') |
62 @benchmark.Disabled('reference') | 62 #@benchmark.Disabled('reference') |
| 63 @benchmark.Disabled # Temporarily entirely disabled. crbug/457054 |
63 class RasterizeAndRecordMicroTop25WithSlimmingPaint(_RasterizeAndRecordMicro): | 64 class RasterizeAndRecordMicroTop25WithSlimmingPaint(_RasterizeAndRecordMicro): |
64 """Measures rasterize and record performance with --enable-slimming-paint. | 65 """Measures rasterize and record performance with --enable-slimming-paint. |
65 | 66 |
66 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 67 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
67 page_set = page_sets.Top25PageSet | 68 page_set = page_sets.Top25PageSet |
68 | 69 |
69 def CustomizeBrowserOptions(self, options): | 70 def CustomizeBrowserOptions(self, options): |
70 options.AppendExtraBrowserArgs(['--enable-slimming-paint']) | 71 options.AppendExtraBrowserArgs(['--enable-slimming-paint']) |
71 | 72 |
72 @classmethod | 73 @classmethod |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 """Measures rasterize and record performance on the Polymer cases. | 106 """Measures rasterize and record performance on the Polymer cases. |
106 | 107 |
107 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 108 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
108 | 109 |
109 @classmethod | 110 @classmethod |
110 def Name(cls): | 111 def Name(cls): |
111 return 'rasterize_and_record_micro.polymer' | 112 return 'rasterize_and_record_micro.polymer' |
112 | 113 |
113 def CreatePageSet(self, options): | 114 def CreatePageSet(self, options): |
114 return page_sets.PolymerPageSet(run_no_page_interactions=True) | 115 return page_sets.PolymerPageSet(run_no_page_interactions=True) |
OLD | NEW |