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

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

Issue 1747303002: [BotHealth] Disable v8.infinite_scroll on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 shlex 4 import shlex
5 5
6 from core import perf_benchmark 6 from core import perf_benchmark
7 7
8 from measurements import v8_detached_context_age_in_gc 8 from measurements import v8_detached_context_age_in_gc
9 from measurements import v8_gc_times 9 from measurements import v8_gc_times
10 import page_sets 10 import page_sets
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 page_set = page_sets.PageReloadCasesPageSet 51 page_set = page_sets.PageReloadCasesPageSet
52 52
53 @classmethod 53 @classmethod
54 def Name(cls): 54 def Name(cls):
55 return 'v8.detached_context_age_in_gc' 55 return 'v8.detached_context_age_in_gc'
56 56
57 57
58 # Disabled on reference builds because they don't support the new 58 # Disabled on reference builds because they don't support the new
59 # Tracing.requestMemoryDump DevTools API. See http://crbug.com/540022. 59 # Tracing.requestMemoryDump DevTools API. See http://crbug.com/540022.
60 @benchmark.Disabled('reference', 'android') # crbug.com/579546 60 @benchmark.Disabled('reference', 'android') # crbug.com/579546
61 @benchmark.Disabled('win') # https://crbug.com/590747
61 class V8InfiniteScroll(perf_benchmark.PerfBenchmark): 62 class V8InfiniteScroll(perf_benchmark.PerfBenchmark):
62 """Measures V8 GC metrics and memory usage while scrolling the top web pages. 63 """Measures V8 GC metrics and memory usage while scrolling the top web pages.
63 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 64 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
64 65
65 page_set = page_sets.InfiniteScrollPageSet 66 page_set = page_sets.InfiniteScrollPageSet
66 67
67 def SetExtraBrowserOptions(self, options): 68 def SetExtraBrowserOptions(self, options):
68 existing_js_flags = [] 69 existing_js_flags = []
69 for extra_arg in options.extra_browser_args: 70 for extra_arg in options.extra_browser_args:
70 if extra_arg.startswith('--js-flags='): 71 if extra_arg.startswith('--js-flags='):
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 return (value.name.startswith('memory_') and 111 return (value.name.startswith('memory_') and
111 'v8_renderer' in value.name) or \ 112 'v8_renderer' in value.name) or \
112 (value.name.startswith('v8_') and not 113 (value.name.startswith('v8_') and not
113 value.name.startswith('v8_gc')) 114 value.name.startswith('v8_gc'))
114 else: 115 else:
115 return value.tir_label == 'Scrolling' 116 return value.tir_label == 'Scrolling'
116 117
117 @classmethod 118 @classmethod
118 def ShouldTearDownStateAfterEachStoryRun(cls): 119 def ShouldTearDownStateAfterEachStoryRun(cls):
119 return True 120 return True
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