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

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

Issue 2877803003: Remove v8.top_25_smooth & v8.key_mobile_sites_smooth benchmarks (Closed)
Patch Set: Rebase Created 3 years, 7 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 | « tools/perf/benchmark.csv ('k') | 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
11 11
12 from measurements import v8_detached_context_age_in_gc 12 from measurements import v8_detached_context_age_in_gc
13 from measurements import v8_gc_times
14 import page_sets 13 import page_sets
15 from telemetry import benchmark 14 from telemetry import benchmark
16 from telemetry import story 15 from telemetry import story
17 from telemetry.timeline import chrome_trace_category_filter 16 from telemetry.timeline import chrome_trace_category_filter
18 from telemetry.timeline import chrome_trace_config 17 from telemetry.timeline import chrome_trace_config
19 from telemetry.web_perf import timeline_based_measurement 18 from telemetry.web_perf import timeline_based_measurement
20 19
21 20
22 def CreateV8TimelineBasedMeasurementOptions(): 21 def CreateV8TimelineBasedMeasurementOptions():
23 category_filter = chrome_trace_category_filter.ChromeTraceCategoryFilter() 22 category_filter = chrome_trace_category_filter.ChromeTraceCategoryFilter()
24 category_filter.AddIncludedCategory('v8') 23 category_filter.AddIncludedCategory('v8')
25 category_filter.AddIncludedCategory('blink.console') 24 category_filter.AddIncludedCategory('blink.console')
26 category_filter.AddDisabledByDefault('disabled-by-default-v8.compile') 25 category_filter.AddDisabledByDefault('disabled-by-default-v8.compile')
27 options = timeline_based_measurement.Options(category_filter) 26 options = timeline_based_measurement.Options(category_filter)
28 options.SetTimelineBasedMetrics(['executionMetric']) 27 options.SetTimelineBasedMetrics(['executionMetric'])
29 return options 28 return options
30 29
31 30
32 @benchmark.Disabled('win') # crbug.com/416502
33 @benchmark.Owner(emails=['hpayer@chromium.org', 'rmcilroy@chromium.org'])
34 class V8Top25(perf_benchmark.PerfBenchmark):
35 """Measures V8 GC metrics on the while scrolling down the top 25 web pages.
36
37 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
38 test = v8_gc_times.V8GCTimes
39 page_set = page_sets.V8Top25SmoothPageSet
40
41 @classmethod
42 def Name(cls):
43 return 'v8.top_25_smooth'
44
45
46 @benchmark.Enabled('android')
47 @benchmark.Owner(emails=['hpayer@chromium.org', 'rmcilroy@chromium.org'])
48 class V8KeyMobileSites(perf_benchmark.PerfBenchmark):
49 """Measures V8 GC metrics on the while scrolling down key mobile sites.
50
51 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
52 test = v8_gc_times.V8GCTimes
53 page_set = page_sets.KeyMobileSitesSmoothPageSet
54
55 @classmethod
56 def Name(cls):
57 return 'v8.key_mobile_sites_smooth'
58
59
60 @benchmark.Owner(emails=['ulan@chromium.org']) 31 @benchmark.Owner(emails=['ulan@chromium.org'])
61 class V8DetachedContextAgeInGC(perf_benchmark.PerfBenchmark): 32 class V8DetachedContextAgeInGC(perf_benchmark.PerfBenchmark):
62 """Measures the number of GCs needed to collect a detached context. 33 """Measures the number of GCs needed to collect a detached context.
63 34
64 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 35 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
65 test = v8_detached_context_age_in_gc.V8DetachedContextAgeInGC 36 test = v8_detached_context_age_in_gc.V8DetachedContextAgeInGC
66 page_set = page_sets.PageReloadCasesPageSet 37 page_set = page_sets.PageReloadCasesPageSet
67 38
68 @classmethod 39 @classmethod
69 def Name(cls): 40 def Name(cls):
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 Designed to represent a mix between top websites and a set of pages that 277 Designed to represent a mix between top websites and a set of pages that
307 have unique V8 characteristics. 278 have unique V8 characteristics.
308 """ 279 """
309 280
310 @classmethod 281 @classmethod
311 def Name(cls): 282 def Name(cls):
312 return 'v8.runtime_stats.top_25' 283 return 'v8.runtime_stats.top_25'
313 284
314 def CreateStorySet(self, options): 285 def CreateStorySet(self, options):
315 return page_sets.V8Top25StorySet() 286 return page_sets.V8Top25StorySet()
OLDNEW
« no previous file with comments | « tools/perf/benchmark.csv ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698