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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 | 139 |
140 @classmethod | 140 @classmethod |
141 def ShouldTearDownStateAfterEachStoryRun(cls): | 141 def ShouldTearDownStateAfterEachStoryRun(cls): |
142 return True | 142 return True |
143 | 143 |
144 | 144 |
145 # Disabled on reference builds because they don't support the new | 145 # Disabled on reference builds because they don't support the new |
146 # Tracing.requestMemoryDump DevTools API. See http://crbug.com/540022. | 146 # Tracing.requestMemoryDump DevTools API. See http://crbug.com/540022. |
147 @benchmark.Disabled('reference', 'android') # crbug.com/579546 | 147 @benchmark.Disabled('reference', 'android') # crbug.com/579546 |
148 @benchmark.Disabled('win') # https://crbug.com/590747 | 148 @benchmark.Disabled('win') # https://crbug.com/590747 |
149 @benchmark.Disabled('mac', 'linux') # https://crbug.com/595404 | |
150 class V8InfiniteScroll(_InfiniteScrollBenchmark): | 149 class V8InfiniteScroll(_InfiniteScrollBenchmark): |
151 """Measures V8 GC metrics and memory usage while scrolling the top web pages. | 150 """Measures V8 GC metrics and memory usage while scrolling the top web pages. |
152 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 151 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
153 | 152 |
154 page_set = page_sets.InfiniteScrollPageSet | 153 page_set = page_sets.InfiniteScrollPageSet |
155 | 154 |
156 @classmethod | 155 @classmethod |
157 def Name(cls): | 156 def Name(cls): |
158 return 'v8.infinite_scroll' | 157 return 'v8.infinite_scroll' |
159 | 158 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 story_set = story.StorySet( | 191 story_set = story.StorySet( |
193 archive_data_file=os.path.join( | 192 archive_data_file=os.path.join( |
194 path_util.GetPerfStorySetsDir(), 'data', 'v8_pages.json'), | 193 path_util.GetPerfStorySetsDir(), 'data', 'v8_pages.json'), |
195 cloud_storage_bucket=story.PARTNER_BUCKET) | 194 cloud_storage_bucket=story.PARTNER_BUCKET) |
196 story_set.AddStory(google_pages.AdwordCampaignDesktopPage(story_set)) | 195 story_set.AddStory(google_pages.AdwordCampaignDesktopPage(story_set)) |
197 return story_set | 196 return story_set |
198 | 197 |
199 @classmethod | 198 @classmethod |
200 def Name(cls): | 199 def Name(cls): |
201 return 'v8.adwords' | 200 return 'v8.adwords' |
OLD | NEW |