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

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

Issue 820433003: Enable smoothness.tough_pinch_zoom_cases on Chrome OS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@powermonitor
Patch Set: Add test Created 6 years 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
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 import page_sets 6 import page_sets
7 from measurements import smoothness 7 from measurements import smoothness
8 from telemetry import benchmark 8 from telemetry import benchmark
9 9
10 10
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 page_set = page_sets.KeyMobileSitesSmoothPageSet 96 page_set = page_sets.KeyMobileSitesSmoothPageSet
97 def CustomizeBrowserOptions(self, options): 97 def CustomizeBrowserOptions(self, options):
98 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options) 98 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options)
99 99
100 @benchmark.Enabled('android') 100 @benchmark.Enabled('android')
101 class SmoothnessSimpleMobilePages(benchmark.Benchmark): 101 class SmoothnessSimpleMobilePages(benchmark.Benchmark):
102 """Measures rendering statistics for simple mobile sites page set """ 102 """Measures rendering statistics for simple mobile sites page set """
103 test = smoothness.Smoothness 103 test = smoothness.Smoothness
104 page_set = page_sets.SimpleMobileSitesPageSet 104 page_set = page_sets.SimpleMobileSitesPageSet
105 105
106 @benchmark.Enabled('android') 106 @benchmark.Enabled('android', 'chromeos')
107 class SmoothnessToughPinchZoomCases(benchmark.Benchmark): 107 class SmoothnessToughPinchZoomCases(benchmark.Benchmark):
108 """Measures rendering statistics for pinch-zooming into the tough pinch zoom 108 """Measures rendering statistics for pinch-zooming into the tough pinch zoom
109 cases 109 cases
110 """ 110 """
111 test = smoothness.Smoothness 111 test = smoothness.Smoothness
112 page_set = page_sets.ToughPinchZoomCasesPageSet 112 page_set = page_sets.ToughPinchZoomCasesPageSet
113 113
114 114
115 @benchmark.Enabled('android') 115 @benchmark.Enabled('android')
116 class SmoothnessPolymer(benchmark.Benchmark): 116 class SmoothnessPolymer(benchmark.Benchmark):
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 class SmoothnessGpuImageDecodingCases(benchmark.Benchmark): 150 class SmoothnessGpuImageDecodingCases(benchmark.Benchmark):
151 """Measures decoding statistics for jpeg images with GPU rasterization 151 """Measures decoding statistics for jpeg images with GPU rasterization
152 """ 152 """
153 tag = 'gpu_rasterization_and_decoding' 153 tag = 'gpu_rasterization_and_decoding'
154 test = smoothness.Smoothness 154 test = smoothness.Smoothness
155 page_set = page_sets.ImageDecodingCasesPageSet 155 page_set = page_sets.ImageDecodingCasesPageSet
156 def CustomizeBrowserOptions(self, options): 156 def CustomizeBrowserOptions(self, options):
157 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) 157 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
158 # TODO: Remove the following line once M41 goes stable 158 # TODO: Remove the following line once M41 goes stable
159 options.AppendExtraBrowserArgs('--enable-accelerated-jpeg-decoding') 159 options.AppendExtraBrowserArgs('--enable-accelerated-jpeg-decoding')
160
OLDNEW
« no previous file with comments | « no previous file | tools/telemetry/telemetry/decorators.py » ('j') | tools/telemetry/telemetry/decorators_unittest.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698