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

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

Issue 2556393003: [v8.runtime_stats] Update page-repeat to 3 for v8.runtime_stats.top_25 (Closed)
Patch Set: Created 4 years 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 possible_browser.platform.GetDeviceTypeName() == 'Nexus 7'): 225 possible_browser.platform.GetDeviceTypeName() == 'Nexus 7'):
226 return True 226 return True
227 return False 227 return False
228 228
229 @classmethod 229 @classmethod
230 def ShouldTearDownStateAfterEachStoryRun(cls): 230 def ShouldTearDownStateAfterEachStoryRun(cls):
231 return True 231 return True
232 232
233 233
234 class _Top25RuntimeStats(perf_benchmark.PerfBenchmark): 234 class _Top25RuntimeStats(perf_benchmark.PerfBenchmark):
235 options = {'pageset_repeat': 1} 235 options = {'pageset_repeat': 3}
236 236
237 def CreateTimelineBasedMeasurementOptions(self): 237 def CreateTimelineBasedMeasurementOptions(self):
238 # TODO(fmeawad): most of the cat_filter information is extracted from 238 # TODO(fmeawad): most of the cat_filter information is extracted from
239 # page_cycler_v2 TimelineBasedMeasurementOptionsForLoadingMetric because 239 # page_cycler_v2 TimelineBasedMeasurementOptionsForLoadingMetric because
240 # used by the loadingMetric because the runtimeStatsMetric uses the 240 # used by the loadingMetric because the runtimeStatsMetric uses the
241 # interactive time calculated internally by the loadingMetric. 241 # interactive time calculated internally by the loadingMetric.
242 # It is better to share the code so that we can keep them in sync. 242 # It is better to share the code so that we can keep them in sync.
243 cat_filter = chrome_trace_category_filter.ChromeTraceCategoryFilter() 243 cat_filter = chrome_trace_category_filter.ChromeTraceCategoryFilter()
244 244
245 # "blink.console" is used for marking ranges in 245 # "blink.console" is used for marking ranges in
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 Designed to represent a mix between top websites and a set of pages that 281 Designed to represent a mix between top websites and a set of pages that
282 have unique V8 characteristics. 282 have unique V8 characteristics.
283 """ 283 """
284 284
285 @classmethod 285 @classmethod
286 def Name(cls): 286 def Name(cls):
287 return 'v8.runtime_stats.top_25' 287 return 'v8.runtime_stats.top_25'
288 288
289 def CreateStorySet(self, options): 289 def CreateStorySet(self, options):
290 return page_sets.V8Top25StorySet() 290 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