OLD | NEW |
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 import os | 4 import os |
5 import re | 5 import re |
6 | 6 |
7 from core import path_util | 7 from core import path_util |
8 from core import perf_benchmark | 8 from core import perf_benchmark |
9 from page_sets import google_pages | 9 from page_sets import google_pages |
10 | 10 |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 super(V8TodoMVCIgnition, self).SetExtraBrowserOptions(options) | 144 super(V8TodoMVCIgnition, self).SetExtraBrowserOptions(options) |
145 v8_helper.EnableIgnition(options) | 145 v8_helper.EnableIgnition(options) |
146 | 146 |
147 @classmethod | 147 @classmethod |
148 def Name(cls): | 148 def Name(cls): |
149 return 'v8.todomvc-ignition' | 149 return 'v8.todomvc-ignition' |
150 | 150 |
151 | 151 |
152 # Disabled on reference builds because they don't support the new | 152 # Disabled on reference builds because they don't support the new |
153 # Tracing.requestMemoryDump DevTools API. See http://crbug.com/540022. | 153 # Tracing.requestMemoryDump DevTools API. See http://crbug.com/540022. |
154 @benchmark.Disabled('reference') | 154 # Windows: crbug.com/638724 |
| 155 @benchmark.Disabled('win', 'reference') |
155 class V8InfiniteScroll(_InfiniteScrollBenchmark): | 156 class V8InfiniteScroll(_InfiniteScrollBenchmark): |
156 """Measures V8 GC metrics and memory usage while scrolling the top web pages. | 157 """Measures V8 GC metrics and memory usage while scrolling the top web pages. |
157 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 158 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
158 | 159 |
159 page_set = page_sets.InfiniteScrollPageSet | 160 page_set = page_sets.InfiniteScrollPageSet |
160 | 161 |
161 @classmethod | 162 @classmethod |
162 def Name(cls): | 163 def Name(cls): |
163 return 'v8.infinite_scroll_tbmv2' | 164 return 'v8.infinite_scroll_tbmv2' |
164 | 165 |
165 | 166 |
166 # Disabled on reference builds because they don't support the new | 167 # Disabled on reference builds because they don't support the new |
167 # Tracing.requestMemoryDump DevTools API. See http://crbug.com/540022. | 168 # Tracing.requestMemoryDump DevTools API. See http://crbug.com/540022. |
168 @benchmark.Disabled('reference') # crbug.com/579546 | 169 # Windows: crbug.com/638724 |
| 170 @benchmark.Disabled('win', 'reference') # crbug.com/579546 |
169 class V8InfiniteScrollIgnition(V8InfiniteScroll): | 171 class V8InfiniteScrollIgnition(V8InfiniteScroll): |
170 """Measures V8 GC metrics using Ignition.""" | 172 """Measures V8 GC metrics using Ignition.""" |
171 | 173 |
172 def SetExtraBrowserOptions(self, options): | 174 def SetExtraBrowserOptions(self, options): |
173 super(V8InfiniteScrollIgnition, self).SetExtraBrowserOptions(options) | 175 super(V8InfiniteScrollIgnition, self).SetExtraBrowserOptions(options) |
174 v8_helper.EnableIgnition(options) | 176 v8_helper.EnableIgnition(options) |
175 | 177 |
176 @classmethod | 178 @classmethod |
177 def Name(cls): | 179 def Name(cls): |
178 return 'v8.infinite_scroll-ignition_tbmv2' | 180 return 'v8.infinite_scroll-ignition_tbmv2' |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 return True | 299 return True |
298 # http://crbug.com/623576 | 300 # http://crbug.com/623576 |
299 if (possible_browser.platform.GetDeviceTypeName() == 'Nexus 5' or | 301 if (possible_browser.platform.GetDeviceTypeName() == 'Nexus 5' or |
300 possible_browser.platform.GetDeviceTypeName() == 'Nexus 7'): | 302 possible_browser.platform.GetDeviceTypeName() == 'Nexus 7'): |
301 return True | 303 return True |
302 return False | 304 return False |
303 | 305 |
304 @classmethod | 306 @classmethod |
305 def ShouldTearDownStateAfterEachStoryRun(cls): | 307 def ShouldTearDownStateAfterEachStoryRun(cls): |
306 return True | 308 return True |
OLD | NEW |