| 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 math | 5 import math |
| 6 import os | 6 import os |
| 7 | 7 |
| 8 from core import perf_benchmark | 8 from core import perf_benchmark |
| 9 | 9 |
| 10 from telemetry import benchmark | 10 from telemetry import benchmark |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 JavaScript Library. | 229 JavaScript Library. |
| 230 """ | 230 """ |
| 231 tag = 'jslibeventprototype' | 231 tag = 'jslibeventprototype' |
| 232 query_param = 'jslib-event-prototype' | 232 query_param = 'jslib-event-prototype' |
| 233 | 233 |
| 234 @classmethod | 234 @classmethod |
| 235 def Name(cls): | 235 def Name(cls): |
| 236 return 'dromaeo.jslibeventprototype' | 236 return 'dromaeo.jslibeventprototype' |
| 237 | 237 |
| 238 | 238 |
| 239 # win: http://crbug.com/479796, http://crbug.com/598705 | 239 # win: http://crbug.com/479796, http://crbug.com/598705, |
| 240 # http://crbug.com/668164 |
| 240 # android: http://crbug.com/503138 | 241 # android: http://crbug.com/503138 |
| 241 # linux: http://crbug.com/583075 | 242 # linux: http://crbug.com/583075 |
| 242 @benchmark.Disabled('win-reference', 'android', 'linux') | 243 @benchmark.Disabled('win', 'win-reference', 'android', 'linux') |
| 243 class DromaeoJslibModifyJquery(_DromaeoBenchmark): | 244 class DromaeoJslibModifyJquery(_DromaeoBenchmark): |
| 244 """Dromaeo JSLib modify jquery JavaScript benchmark. | 245 """Dromaeo JSLib modify jquery JavaScript benchmark. |
| 245 | 246 |
| 246 Tests creating and injecting DOM nodes into a document using the jQuery | 247 Tests creating and injecting DOM nodes into a document using the jQuery |
| 247 JavaScript Library. | 248 JavaScript Library. |
| 248 """ | 249 """ |
| 249 tag = 'jslibmodifyjquery' | 250 tag = 'jslibmodifyjquery' |
| 250 query_param = 'jslib-modify-jquery' | 251 query_param = 'jslib-modify-jquery' |
| 251 | 252 |
| 252 @classmethod | 253 @classmethod |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 """Dromaeo CSS Query jquery JavaScript benchmark. | 329 """Dromaeo CSS Query jquery JavaScript benchmark. |
| 329 | 330 |
| 330 Tests traversing a DOM structure using the Prototype JavaScript Library. | 331 Tests traversing a DOM structure using the Prototype JavaScript Library. |
| 331 """ | 332 """ |
| 332 tag = 'cssqueryjquery' | 333 tag = 'cssqueryjquery' |
| 333 query_param = 'cssquery-jquery' | 334 query_param = 'cssquery-jquery' |
| 334 | 335 |
| 335 @classmethod | 336 @classmethod |
| 336 def Name(cls): | 337 def Name(cls): |
| 337 return 'dromaeo.cssqueryjquery' | 338 return 'dromaeo.cssqueryjquery' |
| OLD | NEW |