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

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

Issue 989773002: Add a slimming paint variant of the typical 25 page cycler benchmark (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-add name Created 5 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 | « 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 measurements import page_cycler 5 from measurements import page_cycler
6 import page_sets 6 import page_sets
7 from telemetry import benchmark 7 from telemetry import benchmark
8 8
9 9
10 class _PageCycler(benchmark.Benchmark): 10 class _PageCycler(benchmark.Benchmark):
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 @classmethod 222 @classmethod
223 def Name(cls): 223 def Name(cls):
224 return 'page_cycler_oopif.typical_25' 224 return 'page_cycler_oopif.typical_25'
225 225
226 def CustomizeBrowserOptions(self, options): 226 def CustomizeBrowserOptions(self, options):
227 options.AppendExtraBrowserArgs(['--site-per-process']) 227 options.AppendExtraBrowserArgs(['--site-per-process'])
228 228
229 def CreatePageSet(self, options): 229 def CreatePageSet(self, options):
230 return page_sets.Typical25PageSet(run_no_page_interactions=True) 230 return page_sets.Typical25PageSet(run_no_page_interactions=True)
231 231
232 # crbug.com/273986: This test is flakey on Windows.
233 @benchmark.Disabled('win')
234 class PageCyclerSlimmingPaintTypical25(_PageCycler):
235 """A varation of the typical 25 benchmark, but running with
236 --enable-slimming-paint to measure slimming paint.
237 """
238 @classmethod
239 def Name(cls):
240 return 'page_cycler_slimming_paint.typical_25'
241
242 def CustomizeBrowserOptions(self, options):
243 options.AppendExtraBrowserArgs(['--enable-slimming-paint'])
244
245 def CreatePageSet(self, options):
246 return page_sets.Typical25PageSet(run_no_page_interactions=True)
247
232 @benchmark.Disabled # crbug.com/443730 248 @benchmark.Disabled # crbug.com/443730
233 class PageCyclerBigJs(_PageCycler): 249 class PageCyclerBigJs(_PageCycler):
234 page_set = page_sets.BigJsPageSet 250 page_set = page_sets.BigJsPageSet
235 @classmethod 251 @classmethod
236 def Name(cls): 252 def Name(cls):
237 return 'page_cycler.big_js' 253 return 'page_cycler.big_js'
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