OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 os | 5 import os |
6 | 6 |
7 from telemetry import benchmark | 7 from telemetry import benchmark |
8 from telemetry.core import util | 8 from telemetry.core import util |
9 from telemetry.page import page_set | 9 from telemetry.page import page_set |
10 from telemetry.page import page_test | 10 from telemetry.page import page_test |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 | 223 |
224 class BlinkPerfShadowDOM(benchmark.Benchmark): | 224 class BlinkPerfShadowDOM(benchmark.Benchmark): |
225 tag = 'shadow_dom' | 225 tag = 'shadow_dom' |
226 test = _BlinkPerfMeasurement | 226 test = _BlinkPerfMeasurement |
227 | 227 |
228 def CreatePageSet(self, options): | 228 def CreatePageSet(self, options): |
229 path = os.path.join(BLINK_PERF_BASE_DIR, 'ShadowDOM') | 229 path = os.path.join(BLINK_PERF_BASE_DIR, 'ShadowDOM') |
230 return _CreatePageSetFromPath(path, SKIPPED_FILE) | 230 return _CreatePageSetFromPath(path, SKIPPED_FILE) |
231 | 231 |
232 | 232 |
| 233 # This benchmark is for local testing, doesn't need to run on bots. |
| 234 @benchmark.Disabled() |
233 class BlinkPerfXMLHttpRequest(benchmark.Benchmark): | 235 class BlinkPerfXMLHttpRequest(benchmark.Benchmark): |
234 tag = 'xml_http_request' | 236 tag = 'xml_http_request' |
235 test = _BlinkPerfMeasurement | 237 test = _BlinkPerfMeasurement |
236 | 238 |
237 def CreatePageSet(self, options): | 239 def CreatePageSet(self, options): |
238 path = os.path.join(BLINK_PERF_BASE_DIR, 'XMLHttpRequest') | 240 path = os.path.join(BLINK_PERF_BASE_DIR, 'XMLHttpRequest') |
239 return _CreatePageSetFromPath(path, SKIPPED_FILE) | 241 return _CreatePageSetFromPath(path, SKIPPED_FILE) |
OLD | NEW |