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 import page as page_module | 9 from telemetry import page as page_module |
9 from telemetry.core import util | |
10 from telemetry.page import page_set | 10 from telemetry.page import page_set |
11 from telemetry.page import page_test | 11 from telemetry.page import page_test |
12 from telemetry.value import list_of_scalar_values | 12 from telemetry.value import list_of_scalar_values |
13 | 13 |
14 | 14 |
15 BLINK_PERF_BASE_DIR = os.path.join(util.GetChromiumSrcDir(), | 15 BLINK_PERF_BASE_DIR = os.path.join(util.GetChromiumSrcDir(), |
16 'third_party', 'WebKit', 'PerformanceTests') | 16 'third_party', 'WebKit', 'PerformanceTests') |
17 SKIPPED_FILE = os.path.join(BLINK_PERF_BASE_DIR, 'Skipped') | 17 SKIPPED_FILE = os.path.join(BLINK_PERF_BASE_DIR, 'Skipped') |
18 | 18 |
19 | 19 |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 tag = 'xml_http_request' | 299 tag = 'xml_http_request' |
300 test = _BlinkPerfMeasurement | 300 test = _BlinkPerfMeasurement |
301 | 301 |
302 @classmethod | 302 @classmethod |
303 def Name(cls): | 303 def Name(cls): |
304 return 'blink_perf.xml_http_request' | 304 return 'blink_perf.xml_http_request' |
305 | 305 |
306 def CreatePageSet(self, options): | 306 def CreatePageSet(self, options): |
307 path = os.path.join(BLINK_PERF_BASE_DIR, 'XMLHttpRequest') | 307 path = os.path.join(BLINK_PERF_BASE_DIR, 'XMLHttpRequest') |
308 return CreatePageSetFromPath(path, SKIPPED_FILE) | 308 return CreatePageSetFromPath(path, SKIPPED_FILE) |
OLD | NEW |