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 | |
64 class RasterizeAndRecordMicroTop25WithSlimmingPaint(_RasterizeAndRecordMicro): | 63 class RasterizeAndRecordMicroTop25WithSlimmingPaint(_RasterizeAndRecordMicro): |
65 """Measures rasterize and record performance with --enable-slimming-paint. | 64 """Measures rasterize and record performance with --enable-slimming-paint. |
66 | 65 |
67 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 66 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
68 page_set = page_sets.Top25PageSet | 67 page_set = page_sets.Top25PageSet |
69 | 68 |
70 def CustomizeBrowserOptions(self, options): | 69 def CustomizeBrowserOptions(self, options): |
71 options.AppendExtraBrowserArgs(['--enable-slimming-paint']) | 70 options.AppendExtraBrowserArgs(['--enable-slimming-paint']) |
72 | 71 |
73 @classmethod | 72 @classmethod |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 """Measures rasterize and record performance on the Polymer cases. | 105 """Measures rasterize and record performance on the Polymer cases. |
107 | 106 |
108 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 107 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
109 | 108 |
110 @classmethod | 109 @classmethod |
111 def Name(cls): | 110 def Name(cls): |
112 return 'rasterize_and_record_micro.polymer' | 111 return 'rasterize_and_record_micro.polymer' |
113 | 112 |
114 def CreatePageSet(self, options): | 113 def CreatePageSet(self, options): |
115 return page_sets.PolymerPageSet(run_no_page_interactions=True) | 114 return page_sets.PolymerPageSet(run_no_page_interactions=True) |
OLD | NEW |