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

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

Issue 189883009: Define a --force-gpu-rasterization flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 from telemetry import test 7 from telemetry import test
8 8
9 9
10 class SmoothnessTop25(test.Test): 10 class SmoothnessTop25(test.Test):
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 class SmoothnessGpuRasterizationTop25(test.Test): 56 class SmoothnessGpuRasterizationTop25(test.Test):
57 """Measures rendering statistics for the top 25 with GPU rasterization 57 """Measures rendering statistics for the top 25 with GPU rasterization
58 """ 58 """
59 tag = 'gpu_rasterization' 59 tag = 'gpu_rasterization'
60 test = smoothness.Smoothness 60 test = smoothness.Smoothness
61 page_set = 'page_sets/top_25.json' 61 page_set = 'page_sets/top_25.json'
62 def CustomizeBrowserOptions(self, options): 62 def CustomizeBrowserOptions(self, options):
63 options.AppendExtraBrowserArgs('--enable-threaded-compositing') 63 options.AppendExtraBrowserArgs('--enable-threaded-compositing')
64 options.AppendExtraBrowserArgs('--force-compositing-mode') 64 options.AppendExtraBrowserArgs('--force-compositing-mode')
65 options.AppendExtraBrowserArgs('--enable-impl-side-painting') 65 options.AppendExtraBrowserArgs('--enable-impl-side-painting')
66 options.AppendExtraBrowserArgs('--enable-gpu-rasterization') 66 options.AppendExtraBrowserArgs('--force-gpu-rasterization')
67 67
68 68
69 class SmoothnessGpuRasterizationKeyMobileSites(test.Test): 69 class SmoothnessGpuRasterizationKeyMobileSites(test.Test):
70 """Measures rendering statistics for the key mobile sites with GPU 70 """Measures rendering statistics for the key mobile sites with GPU
71 rasterization 71 rasterization
72 """ 72 """
73 tag = 'gpu_rasterization' 73 tag = 'gpu_rasterization'
74 test = smoothness.Smoothness 74 test = smoothness.Smoothness
75 page_set = 'page_sets/key_mobile_sites.json' 75 page_set = 'page_sets/key_mobile_sites.json'
76 def CustomizeBrowserOptions(self, options): 76 def CustomizeBrowserOptions(self, options):
(...skipping 30 matching lines...) Expand all
107 silk_flags.CustomizeBrowserOptionsForFastPath(options) 107 silk_flags.CustomizeBrowserOptionsForFastPath(options)
108 108
109 109
110 @test.Enabled('android') 110 @test.Enabled('android')
111 class SmoothnessToughPinchZoomCases(test.Test): 111 class SmoothnessToughPinchZoomCases(test.Test):
112 """Measures rendering statistics for pinch-zooming into the tough pinch zoom 112 """Measures rendering statistics for pinch-zooming into the tough pinch zoom
113 cases 113 cases
114 """ 114 """
115 test = smoothness.Smoothness 115 test = smoothness.Smoothness
116 page_set = 'page_sets/tough_pinch_zoom_cases.json' 116 page_set = 'page_sets/tough_pinch_zoom_cases.json'
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698