| 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 |
| 55 class OortOnlineTBM(perf_benchmark.PerfBenchmark): | 56 class OortOnlineTBM(perf_benchmark.PerfBenchmark): |
| 56 """OortOnline benchmark that measures WebGL and V8 performance. | 57 """OortOnline benchmark that measures WebGL and V8 performance. |
| 57 URL: http://oortonline.gl/#run | 58 URL: http://oortonline.gl/#run |
| 58 Info: http://v8project.blogspot.de/2015/10/jank-busters-part-one.html | 59 Info: http://v8project.blogspot.de/2015/10/jank-busters-part-one.html |
| 59 """ | 60 """ |
| 60 | 61 |
| 61 def SetExtraBrowserOptions(self, options): | 62 def SetExtraBrowserOptions(self, options): |
| 62 options.AppendExtraBrowserArgs([ | 63 options.AppendExtraBrowserArgs([ |
| 63 # TODO(perezju): Temporary workaround to disable periodic memory dumps. | 64 # TODO(perezju): Temporary workaround to disable periodic memory dumps. |
| 64 # See: http://crbug.com/513692 | 65 # See: http://crbug.com/513692 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 88 @classmethod | 89 @classmethod |
| 89 def Name(cls): | 90 def Name(cls): |
| 90 return 'oortonline_tbm' | 91 return 'oortonline_tbm' |
| 91 | 92 |
| 92 @classmethod | 93 @classmethod |
| 93 def ValueCanBeAddedPredicate(cls, value, is_first_result): | 94 def ValueCanBeAddedPredicate(cls, value, is_first_result): |
| 94 if value.tir_label in ['Begin', 'End']: | 95 if value.tir_label in ['Begin', 'End']: |
| 95 return value.name.startswith('memory_') and 'v8_renderer' in value.name | 96 return value.name.startswith('memory_') and 'v8_renderer' in value.name |
| 96 else: | 97 else: |
| 97 return value.tir_label == 'Running' | 98 return value.tir_label == 'Running' |
| OLD | NEW |