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

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

Issue 959063002: key_mobile_sites_smooth: Reload pages before scrolling for LinkedIn and Wowwiki (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use a new benchmark that runs with --page-repeat=2 & --discard-first-results 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 | tools/perf/measurements/smoothness.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 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 benchmarks import silk_flags 5 from benchmarks import silk_flags
6 from measurements import smoothness 6 from measurements import smoothness
7 import page_sets 7 import page_sets
8 from telemetry import benchmark 8 from telemetry import benchmark
9 9
10 10
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 149
150 def CustomizeBrowserOptions(self, options): 150 def CustomizeBrowserOptions(self, options):
151 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options) 151 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options)
152 152
153 @classmethod 153 @classmethod
154 def Name(cls): 154 def Name(cls):
155 return 'smoothness.sync_scroll.key_mobile_sites_smooth' 155 return 'smoothness.sync_scroll.key_mobile_sites_smooth'
156 156
157 157
158 @benchmark.Enabled('android') 158 @benchmark.Enabled('android')
159 class SmoothnessSyncScrollKeyMobileSitesRerun(benchmark.Benchmark):
160 """Same as SmoothnessSyncScrollKeyMobileSites but each page runs twice and
161 only the second run's result is used. This is to test the impact of cache
162 optimization.
163 """
jdduke (slow) 2015/02/27 23:36:03 It seems overkill to repeat the entire pageset (x2
164 tag = 'sync_scroll'
165 test = smoothness.SmoothnessDiscardFirstResult
166 page_set = page_sets.KeyMobileSitesSmoothPageSet
167 options = {'page_repeat': 2}
168
169 def CustomizeBrowserOptions(self, options):
170 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options)
171
172 @classmethod
173 def Name(cls):
174 return 'smoothness.sync_scroll.key_mobile_sites_smooth.rerun'
175
176
177 @benchmark.Enabled('android')
159 class SmoothnessSimpleMobilePages(benchmark.Benchmark): 178 class SmoothnessSimpleMobilePages(benchmark.Benchmark):
160 """Measures rendering statistics for simple mobile sites page set. 179 """Measures rendering statistics for simple mobile sites page set.
161 """ 180 """
162 test = smoothness.Smoothness 181 test = smoothness.Smoothness
163 page_set = page_sets.SimpleMobileSitesPageSet 182 page_set = page_sets.SimpleMobileSitesPageSet
164 183
165 @classmethod 184 @classmethod
166 def Name(cls): 185 def Name(cls):
167 return 'smoothness.simple_mobile_sites' 186 return 'smoothness.simple_mobile_sites'
168 187
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 @benchmark.Enabled('android') 272 @benchmark.Enabled('android')
254 class SmoothnessPathologicalMobileSites(benchmark.Benchmark): 273 class SmoothnessPathologicalMobileSites(benchmark.Benchmark):
255 """Measures task execution statistics while scrolling pathological sites. 274 """Measures task execution statistics while scrolling pathological sites.
256 """ 275 """
257 test = smoothness.Smoothness 276 test = smoothness.Smoothness
258 page_set = page_sets.PathologicalMobileSitesPageSet 277 page_set = page_sets.PathologicalMobileSitesPageSet
259 278
260 @classmethod 279 @classmethod
261 def Name(cls): 280 def Name(cls):
262 return 'smoothness.pathological_mobile_sites' 281 return 'smoothness.pathological_mobile_sites'
OLDNEW
« no previous file with comments | « no previous file | tools/perf/measurements/smoothness.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698