| 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 shlex | 5 import shlex |
| 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 return 'v8.todomvc-ignition' | 176 return 'v8.todomvc-ignition' |
| 177 | 177 |
| 178 @classmethod | 178 @classmethod |
| 179 def ShouldTearDownStateAfterEachStoryRun(cls): | 179 def ShouldTearDownStateAfterEachStoryRun(cls): |
| 180 return True | 180 return True |
| 181 | 181 |
| 182 | 182 |
| 183 # Disabled on reference builds because they don't support the new | 183 # Disabled on reference builds because they don't support the new |
| 184 # Tracing.requestMemoryDump DevTools API. See http://crbug.com/540022. | 184 # Tracing.requestMemoryDump DevTools API. See http://crbug.com/540022. |
| 185 @benchmark.Disabled('reference') | 185 @benchmark.Disabled('reference') |
| 186 @benchmark.Disabled('win') # https://crbug.com/590747 | |
| 187 class V8InfiniteScroll(_InfiniteScrollBenchmark): | 186 class V8InfiniteScroll(_InfiniteScrollBenchmark): |
| 188 """Measures V8 GC metrics and memory usage while scrolling the top web pages. | 187 """Measures V8 GC metrics and memory usage while scrolling the top web pages. |
| 189 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 188 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 190 | 189 |
| 191 page_set = page_sets.InfiniteScrollPageSet | 190 page_set = page_sets.InfiniteScrollPageSet |
| 192 | 191 |
| 193 @classmethod | 192 @classmethod |
| 194 def Name(cls): | 193 def Name(cls): |
| 195 return 'v8.infinite_scroll' | 194 return 'v8.infinite_scroll' |
| 196 | 195 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 def Name(cls): | 240 def Name(cls): |
| 242 return 'v8.google' | 241 return 'v8.google' |
| 243 | 242 |
| 244 @classmethod | 243 @classmethod |
| 245 def ShouldDisable(cls, possible_browser): | 244 def ShouldDisable(cls, possible_browser): |
| 246 return cls.IsSvelte(possible_browser) # http://crbug.com/596556 | 245 return cls.IsSvelte(possible_browser) # http://crbug.com/596556 |
| 247 | 246 |
| 248 @classmethod | 247 @classmethod |
| 249 def ShouldTearDownStateAfterEachStoryRun(cls): | 248 def ShouldTearDownStateAfterEachStoryRun(cls): |
| 250 return True | 249 return True |
| OLD | NEW |