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

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

Issue 1404423010: Temporarily disable the reference build on benchmarks using top_25. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/benchmarks/smoothness.py ('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 4
5 from core import perf_benchmark 5 from core import perf_benchmark
6 6
7 from measurements import v8_detached_context_age_in_gc 7 from measurements import v8_detached_context_age_in_gc
8 from measurements import v8_gc_times 8 from measurements import v8_gc_times
9 import page_sets 9 import page_sets
10 from telemetry import benchmark 10 from telemetry import benchmark
11 from telemetry.timeline import tracing_category_filter 11 from telemetry.timeline import tracing_category_filter
12 from telemetry.web_perf import timeline_based_measurement 12 from telemetry.web_perf import timeline_based_measurement
13 from telemetry.web_perf.metrics import v8_gc_latency 13 from telemetry.web_perf.metrics import v8_gc_latency
14 from telemetry.web_perf.metrics import smoothness 14 from telemetry.web_perf.metrics import smoothness
15 from telemetry.web_perf.metrics import memory_timeline 15 from telemetry.web_perf.metrics import memory_timeline
16 16
17 # Disabled on Win due to crbug.com/416502. 17 # Disabled on Win due to crbug.com/416502.
18 @benchmark.Disabled('win') 18 @benchmark.Disabled('win')
19 @benchmark.Disabled('reference') # crbug.com/547833
19 class V8Top25(perf_benchmark.PerfBenchmark): 20 class V8Top25(perf_benchmark.PerfBenchmark):
20 """Measures V8 GC metrics on the while scrolling down the top 25 web pages. 21 """Measures V8 GC metrics on the while scrolling down the top 25 web pages.
21 22
22 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 23 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
23 test = v8_gc_times.V8GCTimes 24 test = v8_gc_times.V8GCTimes
24 page_set = page_sets.V8Top25SmoothPageSet 25 page_set = page_sets.V8Top25SmoothPageSet
25 26
26 @classmethod 27 @classmethod
27 def Name(cls): 28 def Name(cls):
28 return 'v8.top_25_smooth' 29 return 'v8.top_25_smooth'
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 @classmethod 95 @classmethod
95 def ValueCanBeAddedPredicate(cls, value, is_first_result): 96 def ValueCanBeAddedPredicate(cls, value, is_first_result):
96 if value.tir_label in ['Begin', 'End']: 97 if value.tir_label in ['Begin', 'End']:
97 return value.name.startswith('memory_') and 'v8_renderer' in value.name 98 return value.name.startswith('memory_') and 'v8_renderer' in value.name
98 else: 99 else:
99 return value.tir_label == 'Scrolling' 100 return value.tir_label == 'Scrolling'
100 101
101 @classmethod 102 @classmethod
102 def ShouldTearDownStateAfterEachStoryRun(cls): 103 def ShouldTearDownStateAfterEachStoryRun(cls):
103 return True 104 return True
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/smoothness.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698