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

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

Issue 1126443002: Move user_story.user_story_set to story.story_set (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 6 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 | tools/perf/benchmarks/session_restore.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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 core import perf_benchmark 5 from core import perf_benchmark
6 6
7 from benchmarks import silk_flags 7 from benchmarks import silk_flags
8 from measurements import smoothness 8 from measurements import smoothness
9 from telemetry import benchmark 9 from telemetry import benchmark
10 import page_sets 10 import page_sets
(...skipping 10 matching lines...) Expand all
21 default=None, 21 default=None,
22 help='Width of invalidations for fixed_size mode.') 22 help='Width of invalidations for fixed_size mode.')
23 parser.add_option('--height', type='int', 23 parser.add_option('--height', type='int',
24 default=None, 24 default=None,
25 help='Height of invalidations for fixed_size mode.') 25 help='Height of invalidations for fixed_size mode.')
26 26
27 @classmethod 27 @classmethod
28 def Name(cls): 28 def Name(cls):
29 return 'repaint' 29 return 'repaint'
30 30
31 def CreateUserStorySet(self, options): 31 def CreateStorySet(self, options):
32 return page_sets.KeyMobileSitesRepaintPageSet( 32 return page_sets.KeyMobileSitesRepaintPageSet(
33 options.mode, options.width, options.height) 33 options.mode, options.width, options.height)
34 34
35 def CreatePageTest(self, options): 35 def CreatePageTest(self, options):
36 return smoothness.Repaint() 36 return smoothness.Repaint()
37 37
38 @benchmark.Enabled('android') 38 @benchmark.Enabled('android')
39 class RepaintKeyMobileSites(_Repaint): 39 class RepaintKeyMobileSites(_Repaint):
40 """Measures repaint performance on the key mobile sites. 40 """Measures repaint performance on the key mobile sites.
41 41
(...skipping 11 matching lines...) Expand all
53 53
54 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 54 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
55 tag = 'gpu_rasterization' 55 tag = 'gpu_rasterization'
56 def SetExtraBrowserOptions(self, options): 56 def SetExtraBrowserOptions(self, options):
57 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) 57 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
58 58
59 @classmethod 59 @classmethod
60 def Name(cls): 60 def Name(cls):
61 return 'repaint.gpu_rasterization.key_mobile_sites_repaint' 61 return 'repaint.gpu_rasterization.key_mobile_sites_repaint'
62 62
OLDNEW
« no previous file with comments | « no previous file | tools/perf/benchmarks/session_restore.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698