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

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

Issue 2098613005: Enable thread_times benchmarks on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove stray extra line Created 4 years, 5 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 | 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 core import perf_benchmark 5 from core import perf_benchmark
6 6
7 from benchmarks import silk_flags 7 from benchmarks import silk_flags
8 from measurements import thread_times 8 from measurements import thread_times
9 import page_sets 9 import page_sets
10 from telemetry import benchmark 10 from telemetry import benchmark
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 class ThreadTimesSimpleMobileSites(_ThreadTimes): 69 class ThreadTimesSimpleMobileSites(_ThreadTimes):
70 """Measures timeline metric using smoothness action on simple mobile sites 70 """Measures timeline metric using smoothness action on simple mobile sites
71 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 71 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
72 page_set = page_sets.SimpleMobileSitesPageSet 72 page_set = page_sets.SimpleMobileSitesPageSet
73 73
74 @classmethod 74 @classmethod
75 def Name(cls): 75 def Name(cls):
76 return 'thread_times.simple_mobile_sites' 76 return 'thread_times.simple_mobile_sites'
77 77
78 78
79 @benchmark.Disabled('win') # crbug.com/443781
80 class ThreadTimesCompositorCases(_ThreadTimes): 79 class ThreadTimesCompositorCases(_ThreadTimes):
81 """Measures timeline metrics while performing smoothness action on 80 """Measures timeline metrics while performing smoothness action on
82 tough compositor cases, using software rasterization. 81 tough compositor cases, using software rasterization.
83 82
84 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 83 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
85 page_set = page_sets.ToughCompositorCasesPageSet 84 page_set = page_sets.ToughCompositorCasesPageSet
86 85
87 def SetExtraBrowserOptions(self, options): 86 def SetExtraBrowserOptions(self, options):
88 silk_flags.CustomizeBrowserOptionsForSoftwareRasterization(options) 87 silk_flags.CustomizeBrowserOptionsForSoftwareRasterization(options)
89 88
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 @classmethod 127 @classmethod
129 def Name(cls): 128 def Name(cls):
130 return 'thread_times.key_noop_cases' 129 return 'thread_times.key_noop_cases'
131 130
132 @classmethod 131 @classmethod
133 def ValueCanBeAddedPredicate(cls, value, _): 132 def ValueCanBeAddedPredicate(cls, value, _):
134 # Only report per-second metrics. 133 # Only report per-second metrics.
135 return 'per_frame' not in value.name and 'mean_frame' not in value.name 134 return 'per_frame' not in value.name and 'mean_frame' not in value.name
136 135
137 136
138 @benchmark.Disabled('win') # crbug.com/568175
139 class ThreadTimesToughScrollingCases(_ThreadTimes): 137 class ThreadTimesToughScrollingCases(_ThreadTimes):
140 """Measure timeline metrics while performing smoothness action on tough 138 """Measure timeline metrics while performing smoothness action on tough
141 scrolling cases.""" 139 scrolling cases."""
142 page_set = page_sets.ToughScrollingCasesPageSet 140 page_set = page_sets.ToughScrollingCasesPageSet
143 141
144 @classmethod 142 @classmethod
145 def Name(cls): 143 def Name(cls):
146 return 'thread_times.tough_scrolling_cases' 144 return 'thread_times.tough_scrolling_cases'
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698