OLD | NEW |
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 return 'oortonline' | 45 return 'oortonline' |
46 | 46 |
47 def CreateStorySet(self, options): | 47 def CreateStorySet(self, options): |
48 return page_sets.OortOnlinePageSet() | 48 return page_sets.OortOnlinePageSet() |
49 | 49 |
50 | 50 |
51 # Disabled on reference builds because they don't support the new | 51 # Disabled on reference builds because they don't support the new |
52 # Tracing.requestMemoryDump DevTools API. See http://crbug.com/540022. | 52 # Tracing.requestMemoryDump DevTools API. See http://crbug.com/540022. |
53 @benchmark.Disabled('reference') | 53 @benchmark.Disabled('reference') |
54 @benchmark.Disabled('android') | 54 @benchmark.Disabled('android') |
55 @benchmark.Disabled('win') # https://crbug.com/591081 | |
56 class OortOnlineTBM(perf_benchmark.PerfBenchmark): | 55 class OortOnlineTBM(perf_benchmark.PerfBenchmark): |
57 """OortOnline benchmark that measures WebGL and V8 performance. | 56 """OortOnline benchmark that measures WebGL and V8 performance. |
58 URL: http://oortonline.gl/#run | 57 URL: http://oortonline.gl/#run |
59 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 |
60 """ | 59 """ |
61 | 60 |
62 def SetExtraBrowserOptions(self, options): | 61 def SetExtraBrowserOptions(self, options): |
63 options.AppendExtraBrowserArgs([ | 62 options.AppendExtraBrowserArgs([ |
64 # TODO(perezju): Temporary workaround to disable periodic memory dumps. | 63 # TODO(perezju): Temporary workaround to disable periodic memory dumps. |
65 # See: http://crbug.com/513692 | 64 # See: http://crbug.com/513692 |
(...skipping 23 matching lines...) Expand all Loading... |
89 @classmethod | 88 @classmethod |
90 def Name(cls): | 89 def Name(cls): |
91 return 'oortonline_tbm' | 90 return 'oortonline_tbm' |
92 | 91 |
93 @classmethod | 92 @classmethod |
94 def ValueCanBeAddedPredicate(cls, value, is_first_result): | 93 def ValueCanBeAddedPredicate(cls, value, is_first_result): |
95 if value.tir_label in ['Begin', 'End']: | 94 if value.tir_label in ['Begin', 'End']: |
96 return value.name.startswith('memory_') and 'v8_renderer' in value.name | 95 return value.name.startswith('memory_') and 'v8_renderer' in value.name |
97 else: | 96 else: |
98 return value.tir_label == 'Running' | 97 return value.tir_label == 'Running' |
OLD | NEW |