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

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

Issue 1865003003: perf: Reenable oort online perf tests. (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
37 class OortOnline(perf_benchmark.PerfBenchmark): 36 class OortOnline(perf_benchmark.PerfBenchmark):
38 """OortOnline benchmark that measures WebGL and V8 performance. 37 """OortOnline benchmark that measures WebGL and V8 performance.
39 URL: http://oortonline.gl/#run 38 URL: http://oortonline.gl/#run
40 Info: http://v8project.blogspot.de/2015/10/jank-busters-part-one.html 39 Info: http://v8project.blogspot.de/2015/10/jank-busters-part-one.html
41 """ 40 """
42 test = _OortOnlineMeasurement 41 test = _OortOnlineMeasurement
43 42
44 @classmethod 43 @classmethod
45 def Name(cls): 44 def Name(cls):
46 return 'oortonline' 45 return 'oortonline'
47 46
48 def CreateStorySet(self, options): 47 def CreateStorySet(self, options):
49 return page_sets.OortOnlinePageSet() 48 return page_sets.OortOnlinePageSet()
50 49
51 50
52 # Disabled on reference builds because they don't support the new 51 # Disabled on reference builds because they don't support the new
53 # Tracing.requestMemoryDump DevTools API. See http://crbug.com/540022. 52 # Tracing.requestMemoryDump DevTools API. See http://crbug.com/540022.
54 @benchmark.Disabled('reference') 53 @benchmark.Disabled('reference')
55 @benchmark.Disabled('android') 54 @benchmark.Disabled('android')
56 @benchmark.Disabled('mac', 'win') # crbug.com/599416
57 class OortOnlineTBM(perf_benchmark.PerfBenchmark): 55 class OortOnlineTBM(perf_benchmark.PerfBenchmark):
58 """OortOnline benchmark that measures WebGL and V8 performance. 56 """OortOnline benchmark that measures WebGL and V8 performance.
59 URL: http://oortonline.gl/#run 57 URL: http://oortonline.gl/#run
60 Info: http://v8project.blogspot.de/2015/10/jank-busters-part-one.html 58 Info: http://v8project.blogspot.de/2015/10/jank-busters-part-one.html
61 """ 59 """
62 60
63 def SetExtraBrowserOptions(self, options): 61 def SetExtraBrowserOptions(self, options):
64 options.AppendExtraBrowserArgs([ 62 options.AppendExtraBrowserArgs([
65 # TODO(perezju): Temporary workaround to disable periodic memory dumps. 63 # TODO(perezju): Temporary workaround to disable periodic memory dumps.
66 # See: http://crbug.com/513692 64 # See: http://crbug.com/513692
(...skipping 23 matching lines...) Expand all
90 @classmethod 88 @classmethod
91 def Name(cls): 89 def Name(cls):
92 return 'oortonline_tbm' 90 return 'oortonline_tbm'
93 91
94 @classmethod 92 @classmethod
95 def ValueCanBeAddedPredicate(cls, value, is_first_result): 93 def ValueCanBeAddedPredicate(cls, value, is_first_result):
96 if value.tir_label in ['Begin', 'End']: 94 if value.tir_label in ['Begin', 'End']:
97 return value.name.startswith('memory_') and 'v8_renderer' in value.name 95 return value.name.startswith('memory_') and 'v8_renderer' in value.name
98 else: 96 else:
99 return value.tir_label == 'Running' 97 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