| 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 import page as page_module | 9 from telemetry import page as page_module |
| 10 from telemetry.page import page_set | 10 from telemetry.page import page_set |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 | 160 |
| 161 @classmethod | 161 @classmethod |
| 162 def Name(cls): | 162 def Name(cls): |
| 163 return 'blink_perf.css' | 163 return 'blink_perf.css' |
| 164 | 164 |
| 165 def CreatePageSet(self, options): | 165 def CreatePageSet(self, options): |
| 166 path = os.path.join(BLINK_PERF_BASE_DIR, 'CSS') | 166 path = os.path.join(BLINK_PERF_BASE_DIR, 'CSS') |
| 167 return CreatePageSetFromPath(path, SKIPPED_FILE) | 167 return CreatePageSetFromPath(path, SKIPPED_FILE) |
| 168 | 168 |
| 169 | 169 |
| 170 @benchmark.Disabled('win') # http://crbug.com/488493 | 170 @benchmark.Disabled('win', # http://crbug.com/488493 |
| 171 'linux') # http://crbug.com/488059 |
| 171 class BlinkPerfCanvas(benchmark.Benchmark): | 172 class BlinkPerfCanvas(benchmark.Benchmark): |
| 172 tag = 'canvas' | 173 tag = 'canvas' |
| 173 test = _BlinkPerfMeasurement | 174 test = _BlinkPerfMeasurement |
| 174 | 175 |
| 175 @classmethod | 176 @classmethod |
| 176 def Name(cls): | 177 def Name(cls): |
| 177 return 'blink_perf.canvas' | 178 return 'blink_perf.canvas' |
| 178 | 179 |
| 179 def CreatePageSet(self, options): | 180 def CreatePageSet(self, options): |
| 180 path = os.path.join(BLINK_PERF_BASE_DIR, 'Canvas') | 181 path = os.path.join(BLINK_PERF_BASE_DIR, 'Canvas') |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 tag = 'xml_http_request' | 301 tag = 'xml_http_request' |
| 301 test = _BlinkPerfMeasurement | 302 test = _BlinkPerfMeasurement |
| 302 | 303 |
| 303 @classmethod | 304 @classmethod |
| 304 def Name(cls): | 305 def Name(cls): |
| 305 return 'blink_perf.xml_http_request' | 306 return 'blink_perf.xml_http_request' |
| 306 | 307 |
| 307 def CreatePageSet(self, options): | 308 def CreatePageSet(self, options): |
| 308 path = os.path.join(BLINK_PERF_BASE_DIR, 'XMLHttpRequest') | 309 path = os.path.join(BLINK_PERF_BASE_DIR, 'XMLHttpRequest') |
| 309 return CreatePageSetFromPath(path, SKIPPED_FILE) | 310 return CreatePageSetFromPath(path, SKIPPED_FILE) |
| OLD | NEW |