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

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

Issue 516623002: Force software rasterization on ThreadTimesCompositorCases benchmark. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « tools/perf/benchmarks/silk_flags.py ('k') | no next file » | 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 benchmarks import silk_flags 5 from benchmarks import silk_flags
6 from measurements import thread_times 6 from measurements import thread_times
7 import page_sets 7 import page_sets
8 from telemetry import benchmark 8 from telemetry import benchmark
9 9
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 class ThreadTimesSimpleMobileSites(benchmark.Benchmark): 46 class ThreadTimesSimpleMobileSites(benchmark.Benchmark):
47 """Measures timeline metric using smoothness action on simple mobile sites 47 """Measures timeline metric using smoothness action on simple mobile sites
48 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 48 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
49 test = thread_times.ThreadTimes 49 test = thread_times.ThreadTimes
50 page_set = page_sets.SimpleMobileSitesPageSet 50 page_set = page_sets.SimpleMobileSitesPageSet
51 51
52 52
53 class ThreadTimesCompositorCases(benchmark.Benchmark): 53 class ThreadTimesCompositorCases(benchmark.Benchmark):
54 """Measures timeline metrics while performing smoothness action on 54 """Measures timeline metrics while performing smoothness action on
55 tough compositor cases. 55 tough compositor cases, using software rasterization.
56
56 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 57 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
57 test = thread_times.ThreadTimes 58 test = thread_times.ThreadTimes
58 page_set = page_sets.ToughCompositorCasesPageSet 59 page_set = page_sets.ToughCompositorCasesPageSet
59 60 def CustomizeBrowserOptions(self, options):
61 silk_flags.CustomizeBrowserOptionsForSoftwareRasterization(options)
60 62
61 @benchmark.Enabled('android') 63 @benchmark.Enabled('android')
62 class ThreadTimesPolymer(benchmark.Benchmark): 64 class ThreadTimesPolymer(benchmark.Benchmark):
63 """Measures timeline metrics while performing smoothness action on 65 """Measures timeline metrics while performing smoothness action on
64 Polymer cases.""" 66 Polymer cases."""
65 test = thread_times.ThreadTimes 67 test = thread_times.ThreadTimes
66 page_set = page_sets.PolymerPageSet 68 page_set = page_sets.PolymerPageSet
67 options = { 'report_silk_results': True } 69 options = { 'report_silk_results': True }
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/silk_flags.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698