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

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

Issue 1797223002: [telemetry] Use startup_url to force a fresh browser for each page in TodoMVC (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 | tools/perf/page_sets/todomvc.py » ('j') | 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 category_filter.AddIncludedCategory('v8') 126 category_filter.AddIncludedCategory('v8')
127 category_filter.AddIncludedCategory('blink.console') 127 category_filter.AddIncludedCategory('blink.console')
128 options = timeline_based_measurement.Options(category_filter) 128 options = timeline_based_measurement.Options(category_filter)
129 options.SetLegacyTimelineBasedMetrics([v8_execution.V8ExecutionMetric()]) 129 options.SetLegacyTimelineBasedMetrics([v8_execution.V8ExecutionMetric()])
130 return options 130 return options
131 131
132 @classmethod 132 @classmethod
133 def Name(cls): 133 def Name(cls):
134 return 'v8.todomvc' 134 return 'v8.todomvc'
135 135
136 @classmethod
137 def ShouldTearDownStateAfterEachStoryRun(cls):
138 return True
139
140 136
141 # Disabled on reference builds because they don't support the new 137 # Disabled on reference builds because they don't support the new
142 # Tracing.requestMemoryDump DevTools API. See http://crbug.com/540022. 138 # Tracing.requestMemoryDump DevTools API. See http://crbug.com/540022.
143 @benchmark.Disabled('reference', 'android') # crbug.com/579546 139 @benchmark.Disabled('reference', 'android') # crbug.com/579546
144 @benchmark.Disabled('win') # https://crbug.com/590747 140 @benchmark.Disabled('win') # https://crbug.com/590747
145 class V8InfiniteScroll(_InfiniteScrollBenchmark): 141 class V8InfiniteScroll(_InfiniteScrollBenchmark):
146 """Measures V8 GC metrics and memory usage while scrolling the top web pages. 142 """Measures V8 GC metrics and memory usage while scrolling the top web pages.
147 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 143 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
148 144
149 page_set = page_sets.InfiniteScrollPageSet 145 page_set = page_sets.InfiniteScrollPageSet
150 146
151 @classmethod 147 @classmethod
152 def Name(cls): 148 def Name(cls):
153 return 'v8.infinite_scroll' 149 return 'v8.infinite_scroll'
154 150
155 151
156 @benchmark.Enabled('android') 152 @benchmark.Enabled('android')
157 class V8MobileInfiniteScroll(_InfiniteScrollBenchmark): 153 class V8MobileInfiniteScroll(_InfiniteScrollBenchmark):
158 """Measures V8 GC metrics and memory usage while scrolling the top mobile 154 """Measures V8 GC metrics and memory usage while scrolling the top mobile
159 web pages. 155 web pages.
160 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 156 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
161 157
162 page_set = page_sets.MobileInfiniteScrollPageSet 158 page_set = page_sets.MobileInfiniteScrollPageSet
163 159
164 @classmethod 160 @classmethod
165 def Name(cls): 161 def Name(cls):
166 return 'v8.mobile_infinite_scroll' 162 return 'v8.mobile_infinite_scroll'
OLDNEW
« no previous file with comments | « no previous file | tools/perf/page_sets/todomvc.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698