OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 re | 5 import re |
6 | 6 |
7 from benchmarks import v8_helper | 7 from benchmarks import v8_helper |
8 from core import perf_benchmark | 8 from core import perf_benchmark |
9 from telemetry import benchmark | 9 from telemetry import benchmark |
10 from telemetry.timeline import chrome_trace_config | 10 from telemetry.timeline import chrome_trace_config |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 class V8DesktopIgnitionBrowsingBenchmark(_V8DesktopBrowsingBenchmark): | 119 class V8DesktopIgnitionBrowsingBenchmark(_V8DesktopBrowsingBenchmark): |
120 PLATFORM = 'desktop' | 120 PLATFORM = 'desktop' |
121 TEST_SUFFIX = '_ignition' | 121 TEST_SUFFIX = '_ignition' |
122 | 122 |
123 def SetExtraBrowserOptions(self, options): | 123 def SetExtraBrowserOptions(self, options): |
124 super(V8DesktopIgnitionBrowsingBenchmark, self).SetExtraBrowserOptions( | 124 super(V8DesktopIgnitionBrowsingBenchmark, self).SetExtraBrowserOptions( |
125 options) | 125 options) |
126 v8_helper.EnableIgnition(options) | 126 v8_helper.EnableIgnition(options) |
127 | 127 |
128 | 128 |
| 129 class V8DesktopTurboBrowsingBenchmark(_V8DesktopBrowsingBenchmark): |
| 130 PLATFORM = 'desktop' |
| 131 TEST_SUFFIX = '_turbo' |
| 132 |
| 133 def SetExtraBrowserOptions(self, options): |
| 134 super(V8DesktopTurboBrowsingBenchmark, self).SetExtraBrowserOptions( |
| 135 options) |
| 136 v8_helper.EnableTurbo(options) |
| 137 |
| 138 |
129 @benchmark.Disabled('reference') # http://crbug.com/628631 | 139 @benchmark.Disabled('reference') # http://crbug.com/628631 |
130 class V8MobileIgnitionBrowsingBenchmark(_V8MobileBrowsingBenchmark): | 140 class V8MobileIgnitionBrowsingBenchmark(_V8MobileBrowsingBenchmark): |
131 PLATFORM = 'mobile' | 141 PLATFORM = 'mobile' |
132 TEST_SUFFIX = '_ignition' | 142 TEST_SUFFIX = '_ignition' |
133 | 143 |
134 def SetExtraBrowserOptions(self, options): | 144 def SetExtraBrowserOptions(self, options): |
135 super(V8MobileIgnitionBrowsingBenchmark, self).SetExtraBrowserOptions( | 145 super(V8MobileIgnitionBrowsingBenchmark, self).SetExtraBrowserOptions( |
136 options) | 146 options) |
137 v8_helper.EnableIgnition(options) | 147 v8_helper.EnableIgnition(options) |
| 148 |
| 149 |
| 150 @benchmark.Disabled('reference') # http://crbug.com/628631 |
| 151 class V8MobileTurboBrowsingBenchmark(_V8MobileBrowsingBenchmark): |
| 152 PLATFORM = 'mobile' |
| 153 TEST_SUFFIX = '_turbo' |
| 154 |
| 155 def SetExtraBrowserOptions(self, options): |
| 156 super(V8MobileTurboBrowsingBenchmark, self).SetExtraBrowserOptions( |
| 157 options) |
| 158 v8_helper.EnableTurbo(options) |
OLD | NEW |