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

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

Issue 2773483002: Ensure fixed amount of scrolling in infinite scroll stories. (Closed)
Patch Set: Created 3 years, 9 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
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 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 @classmethod 190 @classmethod
191 def Name(cls): 191 def Name(cls):
192 return 'v8.todomvc-classic' 192 return 'v8.todomvc-classic'
193 193
194 194
195 @benchmark.Owner(emails=['ulan@chromium.org']) 195 @benchmark.Owner(emails=['ulan@chromium.org'])
196 class V8InfiniteScroll(_InfiniteScrollBenchmark): 196 class V8InfiniteScroll(_InfiniteScrollBenchmark):
197 """Measures V8 GC metrics and memory usage while scrolling the top web pages. 197 """Measures V8 GC metrics and memory usage while scrolling the top web pages.
198 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 198 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
199 199
200 page_set = page_sets.InfiniteScrollPageSet 200 page_set = page_sets.InfiniteScrollStorySet
201 201
202 @classmethod 202 @classmethod
203 def Name(cls): 203 def Name(cls):
204 return 'v8.infinite_scroll_tbmv2' 204 return 'v8.infinite_scroll_tbmv2'
205 205
206 @benchmark.Disabled('all') 206 @benchmark.Disabled('all')
207 @benchmark.Owner(emails=['mvstaton@chromium.org']) 207 @benchmark.Owner(emails=['mvstaton@chromium.org'])
208 class V8InfiniteScrollTurbo(V8InfiniteScroll): 208 class V8InfiniteScrollTurbo(V8InfiniteScroll):
209 """Measures V8 GC metrics using Ignition+TurboFan.""" 209 """Measures V8 GC metrics using Ignition+TurboFan."""
210 210
(...skipping 19 matching lines...) Expand all
230 return 'v8.infinite_scroll-classic_tbmv2' 230 return 'v8.infinite_scroll-classic_tbmv2'
231 231
232 232
233 @benchmark.Enabled('android') 233 @benchmark.Enabled('android')
234 @benchmark.Owner(emails=['ulan@chromium.org']) 234 @benchmark.Owner(emails=['ulan@chromium.org'])
235 class V8MobileInfiniteScroll(_InfiniteScrollBenchmark): 235 class V8MobileInfiniteScroll(_InfiniteScrollBenchmark):
236 """Measures V8 GC metrics and memory usage while scrolling the top mobile 236 """Measures V8 GC metrics and memory usage while scrolling the top mobile
237 web pages. 237 web pages.
238 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 238 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
239 239
240 page_set = page_sets.MobileInfiniteScrollPageSet 240 page_set = page_sets.MobileInfiniteScrollStorySet
241 241
242 @classmethod 242 @classmethod
243 def Name(cls): 243 def Name(cls):
244 return 'v8.mobile_infinite_scroll_tbmv2' 244 return 'v8.mobile_infinite_scroll_tbmv2'
245 245
246 @classmethod 246 @classmethod
247 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656 247 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656
248 return (possible_browser.browser_type == 'reference' and 248 return (possible_browser.browser_type == 'reference' and
249 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X') 249 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X')
250 250
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 Designed to represent a mix between top websites and a set of pages that 371 Designed to represent a mix between top websites and a set of pages that
372 have unique V8 characteristics. 372 have unique V8 characteristics.
373 """ 373 """
374 374
375 @classmethod 375 @classmethod
376 def Name(cls): 376 def Name(cls):
377 return 'v8.runtime_stats.top_25' 377 return 'v8.runtime_stats.top_25'
378 378
379 def CreateStorySet(self, options): 379 def CreateStorySet(self, options):
380 return page_sets.V8Top25StorySet() 380 return page_sets.V8Top25StorySet()
OLDNEW
« no previous file with comments | « no previous file | tools/perf/page_sets/infinite_scroll_cases.py » ('j') | tools/perf/page_sets/infinite_scroll_cases.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698