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

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

Issue 2711143002: Removes ignition specific benchmarks. (Closed)
Patch Set: Rebased the patch. And re-ran tools/perf/generate_perf_json.py. Created 3 years, 9 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 | « tools/perf/benchmarks/v8.py ('k') | tools/perf/benchmarks/v8_helper.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 import re 5 import re
6 6
7 from benchmarks import v8_helper 7 from benchmarks import v8_helper
8 from core import perf_benchmark 8 from core import perf_benchmark
9 from telemetry import benchmark 9 from telemetry import benchmark
10 from telemetry.timeline import chrome_trace_config 10 from telemetry.timeline import chrome_trace_config
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 PLATFORM = 'desktop' 160 PLATFORM = 'desktop'
161 TEST_SUFFIX = '' 161 TEST_SUFFIX = ''
162 162
163 163
164 @benchmark.Disabled('reference') # http://crbug.com/628631 164 @benchmark.Disabled('reference') # http://crbug.com/628631
165 class V8MobileBrowsingBenchmark(_V8MobileBrowsingBenchmark): 165 class V8MobileBrowsingBenchmark(_V8MobileBrowsingBenchmark):
166 PLATFORM = 'mobile' 166 PLATFORM = 'mobile'
167 TEST_SUFFIX = '' 167 TEST_SUFFIX = ''
168 168
169 169
170 class V8DesktopIgnitionBrowsingBenchmark(_V8DesktopBrowsingBenchmark):
171 PLATFORM = 'desktop'
172 TEST_SUFFIX = '_ignition'
173
174 def SetExtraBrowserOptions(self, options):
175 super(V8DesktopIgnitionBrowsingBenchmark, self).SetExtraBrowserOptions(
176 options)
177 v8_helper.EnableIgnition(options)
178
179
180 class V8DesktopTurboBrowsingBenchmark(_V8DesktopBrowsingBenchmark): 170 class V8DesktopTurboBrowsingBenchmark(_V8DesktopBrowsingBenchmark):
181 PLATFORM = 'desktop' 171 PLATFORM = 'desktop'
182 TEST_SUFFIX = '_turbo' 172 TEST_SUFFIX = '_turbo'
183 173
184 def SetExtraBrowserOptions(self, options): 174 def SetExtraBrowserOptions(self, options):
185 super(V8DesktopTurboBrowsingBenchmark, self).SetExtraBrowserOptions( 175 super(V8DesktopTurboBrowsingBenchmark, self).SetExtraBrowserOptions(
186 options) 176 options)
187 v8_helper.EnableTurbo(options) 177 v8_helper.EnableTurbo(options)
188 178
189 179
190 @benchmark.Disabled('reference') # http://crbug.com/628631 180 @benchmark.Disabled('reference') # http://crbug.com/628631
191 class V8MobileIgnitionBrowsingBenchmark(_V8MobileBrowsingBenchmark):
192 PLATFORM = 'mobile'
193 TEST_SUFFIX = '_ignition'
194
195 def SetExtraBrowserOptions(self, options):
196 super(V8MobileIgnitionBrowsingBenchmark, self).SetExtraBrowserOptions(
197 options)
198 v8_helper.EnableIgnition(options)
199
200
201 @benchmark.Disabled('reference') # http://crbug.com/628631
202 class V8MobileTurboBrowsingBenchmark(_V8MobileBrowsingBenchmark): 181 class V8MobileTurboBrowsingBenchmark(_V8MobileBrowsingBenchmark):
203 PLATFORM = 'mobile' 182 PLATFORM = 'mobile'
204 TEST_SUFFIX = '_turbo' 183 TEST_SUFFIX = '_turbo'
205 184
206 def SetExtraBrowserOptions(self, options): 185 def SetExtraBrowserOptions(self, options):
207 super(V8MobileTurboBrowsingBenchmark, self).SetExtraBrowserOptions( 186 super(V8MobileTurboBrowsingBenchmark, self).SetExtraBrowserOptions(
208 options) 187 options)
209 188
210 189
211 class V8RuntimeStatsDesktopBrowsingBenchmark( 190 class V8RuntimeStatsDesktopBrowsingBenchmark(
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 231
253 def SetExtraBrowserOptions(self, options): 232 def SetExtraBrowserOptions(self, options):
254 super(V8RuntimeStatsMobileTurboBrowsingBenchmark, 233 super(V8RuntimeStatsMobileTurboBrowsingBenchmark,
255 self).SetExtraBrowserOptions(options) 234 self).SetExtraBrowserOptions(options)
256 v8_helper.EnableTurbo(options) 235 v8_helper.EnableTurbo(options)
257 236
258 @classmethod 237 @classmethod
259 def ShouldDisable(cls, possible_browser): 238 def ShouldDisable(cls, possible_browser):
260 return possible_browser.platform.GetDeviceTypeName() == 'Desktop' 239 return possible_browser.platform.GetDeviceTypeName() == 'Desktop'
261 240
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/v8.py ('k') | tools/perf/benchmarks/v8_helper.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698