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

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

Issue 2773693002: Re-enable benchmarks for reference builds on Nexus 5X. (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 21 matching lines...) Expand all
32 @benchmark.Disabled('win') # crbug.com/416502 32 @benchmark.Disabled('win') # crbug.com/416502
33 @benchmark.Owner(emails=['hpayer@chromium.org', 'rmcilroy@chromium.org']) 33 @benchmark.Owner(emails=['hpayer@chromium.org', 'rmcilroy@chromium.org'])
34 class V8Top25(perf_benchmark.PerfBenchmark): 34 class V8Top25(perf_benchmark.PerfBenchmark):
35 """Measures V8 GC metrics on the while scrolling down the top 25 web pages. 35 """Measures V8 GC metrics on the while scrolling down the top 25 web pages.
36 36
37 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 37 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
38 test = v8_gc_times.V8GCTimes 38 test = v8_gc_times.V8GCTimes
39 page_set = page_sets.V8Top25SmoothPageSet 39 page_set = page_sets.V8Top25SmoothPageSet
40 40
41 @classmethod 41 @classmethod
42 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656
43 return (possible_browser.browser_type == 'reference' and
44 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X')
45
46 @classmethod
47 def Name(cls): 42 def Name(cls):
48 return 'v8.top_25_smooth' 43 return 'v8.top_25_smooth'
49 44
50 45
51 @benchmark.Disabled('all') # crbug.com/702194 46 @benchmark.Disabled('all') # crbug.com/702194
52 #@benchmark.Enabled('android') 47 #@benchmark.Enabled('android')
53 @benchmark.Owner(emails=['hpayer@chromium.org', 'rmcilroy@chromium.org']) 48 @benchmark.Owner(emails=['hpayer@chromium.org', 'rmcilroy@chromium.org'])
54 class V8KeyMobileSites(perf_benchmark.PerfBenchmark): 49 class V8KeyMobileSites(perf_benchmark.PerfBenchmark):
55 """Measures V8 GC metrics on the while scrolling down key mobile sites. 50 """Measures V8 GC metrics on the while scrolling down key mobile sites.
56 51
57 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 52 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
58 test = v8_gc_times.V8GCTimes 53 test = v8_gc_times.V8GCTimes
59 page_set = page_sets.KeyMobileSitesSmoothPageSet 54 page_set = page_sets.KeyMobileSitesSmoothPageSet
60 55
61 @classmethod 56 @classmethod
62 def Name(cls): 57 def Name(cls):
63 return 'v8.key_mobile_sites_smooth' 58 return 'v8.key_mobile_sites_smooth'
64 59
65 @classmethod
66 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656
67 return (possible_browser.browser_type == 'reference' and
68 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X')
69
70 60
71 class V8DetachedContextAgeInGC(perf_benchmark.PerfBenchmark): 61 class V8DetachedContextAgeInGC(perf_benchmark.PerfBenchmark):
72 """Measures the number of GCs needed to collect a detached context. 62 """Measures the number of GCs needed to collect a detached context.
73 63
74 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 64 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
75 test = v8_detached_context_age_in_gc.V8DetachedContextAgeInGC 65 test = v8_detached_context_age_in_gc.V8DetachedContextAgeInGC
76 page_set = page_sets.PageReloadCasesPageSet 66 page_set = page_sets.PageReloadCasesPageSet
77 67
78 @classmethod 68 @classmethod
79 def Name(cls): 69 def Name(cls):
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 """Measures V8 GC metrics and memory usage while scrolling the top mobile 226 """Measures V8 GC metrics and memory usage while scrolling the top mobile
237 web pages. 227 web pages.
238 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 228 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
239 229
240 page_set = page_sets.MobileInfiniteScrollPageSet 230 page_set = page_sets.MobileInfiniteScrollPageSet
241 231
242 @classmethod 232 @classmethod
243 def Name(cls): 233 def Name(cls):
244 return 'v8.mobile_infinite_scroll_tbmv2' 234 return 'v8.mobile_infinite_scroll_tbmv2'
245 235
246 @classmethod
247 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656
248 return (possible_browser.browser_type == 'reference' and
249 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X')
250
251 236
252 @benchmark.Disabled('all') # was enabled only on android 237 @benchmark.Disabled('all') # was enabled only on android
253 @benchmark.Owner(emails=['mvstaton@chromium.org']) 238 @benchmark.Owner(emails=['mvstaton@chromium.org'])
254 class V8MobileInfiniteScrollTurbo(V8MobileInfiniteScroll): 239 class V8MobileInfiniteScrollTurbo(V8MobileInfiniteScroll):
255 """Measures V8 GC metrics and memory usage while scrolling the top mobile 240 """Measures V8 GC metrics and memory usage while scrolling the top mobile
256 web pages and running Ignition+TurboFan. 241 web pages and running Ignition+TurboFan.
257 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 242 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
258 243
259 def SetExtraBrowserOptions(self, options): 244 def SetExtraBrowserOptions(self, options):
260 super(V8MobileInfiniteScrollTurbo, self).SetExtraBrowserOptions(options) 245 super(V8MobileInfiniteScrollTurbo, self).SetExtraBrowserOptions(options)
(...skipping 110 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 356 Designed to represent a mix between top websites and a set of pages that
372 have unique V8 characteristics. 357 have unique V8 characteristics.
373 """ 358 """
374 359
375 @classmethod 360 @classmethod
376 def Name(cls): 361 def Name(cls):
377 return 'v8.runtime_stats.top_25' 362 return 'v8.runtime_stats.top_25'
378 363
379 def CreateStorySet(self, options): 364 def CreateStorySet(self, options):
380 return page_sets.V8Top25StorySet() 365 return page_sets.V8Top25StorySet()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698