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 | 5 |
6 from core import path_util | 6 from core import path_util |
7 from core import perf_benchmark | 7 from core import perf_benchmark |
8 from page_sets import google_pages | 8 from page_sets import google_pages |
9 | 9 |
10 from benchmarks import v8_helper | 10 from benchmarks import v8_helper |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 | 120 |
121 @classmethod | 121 @classmethod |
122 def ValueCanBeAddedPredicate(cls, value, _): | 122 def ValueCanBeAddedPredicate(cls, value, _): |
123 return ('v8' in value.name) or ('eqt' in value.name) | 123 return ('v8' in value.name) or ('eqt' in value.name) |
124 | 124 |
125 @classmethod | 125 @classmethod |
126 def ShouldTearDownStateAfterEachStoryRun(cls): | 126 def ShouldTearDownStateAfterEachStoryRun(cls): |
127 return True | 127 return True |
128 | 128 |
129 | 129 |
| 130 @benchmark.Disabled('linux') # crbug.com/715716 |
130 @benchmark.Owner(emails=['ulan@chromium.org']) | 131 @benchmark.Owner(emails=['ulan@chromium.org']) |
131 class V8InfiniteScroll(_InfiniteScrollBenchmark): | 132 class V8InfiniteScroll(_InfiniteScrollBenchmark): |
132 """Measures V8 GC metrics and memory usage while scrolling the top web pages. | 133 """Measures V8 GC metrics and memory usage while scrolling the top web pages. |
133 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 134 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
134 | 135 |
135 page_set = page_sets.InfiniteScrollStorySet | 136 page_set = page_sets.InfiniteScrollStorySet |
136 | 137 |
137 @classmethod | 138 @classmethod |
138 def Name(cls): | 139 def Name(cls): |
139 return 'v8.infinite_scroll_tbmv2' | 140 return 'v8.infinite_scroll_tbmv2' |
140 | 141 |
141 @benchmark.Disabled('all') | 142 @benchmark.Disabled('all') |
142 @benchmark.Owner(emails=['mvstaton@chromium.org']) | 143 @benchmark.Owner(emails=['mvstaton@chromium.org']) |
143 class V8InfiniteScrollTurbo(V8InfiniteScroll): | 144 class V8InfiniteScrollTurbo(V8InfiniteScroll): |
144 """Measures V8 GC metrics using Ignition+TurboFan.""" | 145 """Measures V8 GC metrics using Ignition+TurboFan.""" |
145 | 146 |
146 def SetExtraBrowserOptions(self, options): | 147 def SetExtraBrowserOptions(self, options): |
147 super(V8InfiniteScrollTurbo, self).SetExtraBrowserOptions(options) | 148 super(V8InfiniteScrollTurbo, self).SetExtraBrowserOptions(options) |
148 v8_helper.EnableTurbo(options) | 149 v8_helper.EnableTurbo(options) |
149 | 150 |
150 @classmethod | 151 @classmethod |
151 def Name(cls): | 152 def Name(cls): |
152 return 'v8.infinite_scroll-turbo_tbmv2' | 153 return 'v8.infinite_scroll-turbo_tbmv2' |
153 | 154 |
154 | 155 |
| 156 @benchmark.Disabled('linux') # crbug.com/715716 |
155 @benchmark.Owner(emails=['hablich@chromium.org']) | 157 @benchmark.Owner(emails=['hablich@chromium.org']) |
156 class V8InfiniteScrollClassic(V8InfiniteScroll): | 158 class V8InfiniteScrollClassic(V8InfiniteScroll): |
157 """Measures V8 GC metrics using the Classic pipeline.""" | 159 """Measures V8 GC metrics using the Classic pipeline.""" |
158 | 160 |
159 def SetExtraBrowserOptions(self, options): | 161 def SetExtraBrowserOptions(self, options): |
160 super(V8InfiniteScrollClassic, self).SetExtraBrowserOptions(options) | 162 super(V8InfiniteScrollClassic, self).SetExtraBrowserOptions(options) |
161 v8_helper.EnableClassic(options) | 163 v8_helper.EnableClassic(options) |
162 | 164 |
163 @classmethod | 165 @classmethod |
164 def Name(cls): | 166 def Name(cls): |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 Designed to represent a mix between top websites and a set of pages that | 303 Designed to represent a mix between top websites and a set of pages that |
302 have unique V8 characteristics. | 304 have unique V8 characteristics. |
303 """ | 305 """ |
304 | 306 |
305 @classmethod | 307 @classmethod |
306 def Name(cls): | 308 def Name(cls): |
307 return 'v8.runtime_stats.top_25' | 309 return 'v8.runtime_stats.top_25' |
308 | 310 |
309 def CreateStorySet(self, options): | 311 def CreateStorySet(self, options): |
310 return page_sets.V8Top25StorySet() | 312 return page_sets.V8Top25StorySet() |
OLD | NEW |