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

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

Issue 181063022: cc: Trigger GPU rasterization based on a per-layer hint (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 measurements import smoothness 5 from measurements import smoothness
6 from telemetry import test 6 from telemetry import test
7 7
8 8
9 class SmoothnessTop25(test.Test): 9 class SmoothnessTop25(test.Test):
10 """Measures rendering statistics while scrolling down the top 25 web pages. 10 """Measures rendering statistics while scrolling down the top 25 web pages.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 class SmoothnessGpuRasterizationTop25(test.Test): 44 class SmoothnessGpuRasterizationTop25(test.Test):
45 """Measures rendering statistics for the top 25 with GPU rasterization 45 """Measures rendering statistics for the top 25 with GPU rasterization
46 """ 46 """
47 tag = 'gpu_rasterization' 47 tag = 'gpu_rasterization'
48 test = smoothness.Smoothness 48 test = smoothness.Smoothness
49 page_set = 'page_sets/top_25.json' 49 page_set = 'page_sets/top_25.json'
50 def CustomizeBrowserOptions(self, options): 50 def CustomizeBrowserOptions(self, options):
51 options.AppendExtraBrowserArgs('--enable-threaded-compositing') 51 options.AppendExtraBrowserArgs('--enable-threaded-compositing')
52 options.AppendExtraBrowserArgs('--force-compositing-mode') 52 options.AppendExtraBrowserArgs('--force-compositing-mode')
53 options.AppendExtraBrowserArgs('--enable-impl-side-painting') 53 options.AppendExtraBrowserArgs('--enable-impl-side-painting')
54 options.AppendExtraBrowserArgs('--enable-gpu-rasterization') 54 options.AppendExtraBrowserArgs('--enable-universal-gpu-rasterization')
55 55
56 56
57 class SmoothnessGpuRasterizationKeyMobileSites(test.Test): 57 class SmoothnessGpuRasterizationKeyMobileSites(test.Test):
58 """Measures rendering statistics for the key mobile sites with GPU 58 """Measures rendering statistics for the key mobile sites with GPU
59 rasterization 59 rasterization
60 """ 60 """
61 tag = 'gpu_rasterization' 61 tag = 'gpu_rasterization'
62 test = smoothness.Smoothness 62 test = smoothness.Smoothness
63 page_set = 'page_sets/key_mobile_sites.json' 63 page_set = 'page_sets/key_mobile_sites.json'
64 def CustomizeBrowserOptions(self, options): 64 def CustomizeBrowserOptions(self, options):
(...skipping 15 matching lines...) Expand all
80 options.AppendExtraBrowserArgs('--enable-impl-side-painting') 80 options.AppendExtraBrowserArgs('--enable-impl-side-painting')
81 options.AppendExtraBrowserArgs('--enable-gpu-rasterization') 81 options.AppendExtraBrowserArgs('--enable-gpu-rasterization')
82 82
83 83
84 class SmoothnessToughPinchZoomCases(test.Test): 84 class SmoothnessToughPinchZoomCases(test.Test):
85 """Measures rendering statistics for pinch-zooming into the tough pinch zoom 85 """Measures rendering statistics for pinch-zooming into the tough pinch zoom
86 cases 86 cases
87 """ 87 """
88 test = smoothness.Smoothness 88 test = smoothness.Smoothness
89 page_set = 'page_sets/tough_pinch_zoom_cases.json' 89 page_set = 'page_sets/tough_pinch_zoom_cases.json'
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698