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

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

Issue 1106823003: Add a slimming paint version of the r&r key silk case benchmark (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 93 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
94 94
95 @classmethod 95 @classmethod
96 def Name(cls): 96 def Name(cls):
97 return 'rasterize_and_record_micro.key_silk_cases' 97 return 'rasterize_and_record_micro.key_silk_cases'
98 98
99 def CreatePageSet(self, options): 99 def CreatePageSet(self, options):
100 return page_sets.KeySilkCasesPageSet(run_no_page_interactions=True) 100 return page_sets.KeySilkCasesPageSet(run_no_page_interactions=True)
101 101
102 102
103 @benchmark.Disabled('mac', 'win', 'android')
104 @benchmark.Disabled('reference')
105 class RasterizeAndRecordMicroKeySilkWithSlimmingPaint(_RasterizeAndRecordMicro):
106 """Measures rasterize and record on the silk sites with slimming paint.
107
108 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
109
110 def CustomizeBrowserOptions(self, options):
111 options.AppendExtraBrowserArgs(['--enable-slimming-paint'])
112
113 @classmethod
114 def Name(cls):
115 return 'rasterize_and_record_micro.key_silk_cases_with_slimming_paint'
116
117 def CreatePageSet(self, options):
118 return page_sets.KeySilkCasesPageSet(run_no_page_interactions=True)
119
120
103 @benchmark.Enabled('android') 121 @benchmark.Enabled('android')
104 class RasterizeAndRecordMicroPolymer(_RasterizeAndRecordMicro): 122 class RasterizeAndRecordMicroPolymer(_RasterizeAndRecordMicro):
105 """Measures rasterize and record performance on the Polymer cases. 123 """Measures rasterize and record performance on the Polymer cases.
106 124
107 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 125 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
108 126
109 @classmethod 127 @classmethod
110 def Name(cls): 128 def Name(cls):
111 return 'rasterize_and_record_micro.polymer' 129 return 'rasterize_and_record_micro.polymer'
112 130
113 def CreatePageSet(self, options): 131 def CreatePageSet(self, options):
114 return page_sets.PolymerPageSet(run_no_page_interactions=True) 132 return page_sets.PolymerPageSet(run_no_page_interactions=True)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698