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

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

Issue 1855903003: Disable oortonline benchmark for flakiness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 4
5 import page_sets 5 import page_sets
6 6
7 from core import perf_benchmark 7 from core import perf_benchmark
8 from telemetry import benchmark 8 from telemetry import benchmark
9 from telemetry.page import page_test 9 from telemetry.page import page_test
10 from telemetry.value import scalar 10 from telemetry.value import scalar
(...skipping 15 matching lines...) Expand all
26 scores = tab.EvaluateJavaScript('window.benchmarkScore') 26 scores = tab.EvaluateJavaScript('window.benchmarkScore')
27 for score in scores: 27 for score in scores:
28 valid = score['valid'] 28 valid = score['valid']
29 if valid: 29 if valid:
30 results.AddValue(scalar.ScalarValue( 30 results.AddValue(scalar.ScalarValue(
31 results.current_page, score['name'], 'score', score['score'], 31 results.current_page, score['name'], 'score', score['score'],
32 important=True, improvement_direction=improvement_direction.UP)) 32 important=True, improvement_direction=improvement_direction.UP))
33 33
34 34
35 @benchmark.Disabled('android') 35 @benchmark.Disabled('android')
36 @benchmark.Disabled('mac', 'win') # crbug.com/599416
36 class OortOnline(perf_benchmark.PerfBenchmark): 37 class OortOnline(perf_benchmark.PerfBenchmark):
37 """OortOnline benchmark that measures WebGL and V8 performance. 38 """OortOnline benchmark that measures WebGL and V8 performance.
38 URL: http://oortonline.gl/#run 39 URL: http://oortonline.gl/#run
39 Info: http://v8project.blogspot.de/2015/10/jank-busters-part-one.html 40 Info: http://v8project.blogspot.de/2015/10/jank-busters-part-one.html
40 """ 41 """
41 test = _OortOnlineMeasurement 42 test = _OortOnlineMeasurement
42 43
43 @classmethod 44 @classmethod
44 def Name(cls): 45 def Name(cls):
45 return 'oortonline' 46 return 'oortonline'
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 @classmethod 90 @classmethod
90 def Name(cls): 91 def Name(cls):
91 return 'oortonline_tbm' 92 return 'oortonline_tbm'
92 93
93 @classmethod 94 @classmethod
94 def ValueCanBeAddedPredicate(cls, value, is_first_result): 95 def ValueCanBeAddedPredicate(cls, value, is_first_result):
95 if value.tir_label in ['Begin', 'End']: 96 if value.tir_label in ['Begin', 'End']:
96 return value.name.startswith('memory_') and 'v8_renderer' in value.name 97 return value.name.startswith('memory_') and 'v8_renderer' in value.name
97 else: 98 else:
98 return value.tir_label == 'Running' 99 return value.tir_label == 'Running'
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