OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 from common.chrome_proxy_benchmark import ChromeProxyBenchmark | 5 from common.chrome_proxy_benchmark import ChromeProxyBenchmark |
6 from integration_tests import chrome_proxy_measurements as measurements | 6 from integration_tests import chrome_proxy_measurements as measurements |
7 from integration_tests import chrome_proxy_pagesets as pagesets | 7 from integration_tests import chrome_proxy_pagesets as pagesets |
8 from telemetry import benchmark | 8 from telemetry import benchmark |
9 | 9 |
10 DESKTOP_PLATFORMS = ['mac', 'linux', 'win', 'chromeos'] | 10 DESKTOP_PLATFORMS = ['mac', 'linux', 'win', 'chromeos'] |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
257 | 257 |
258 class ChromeProxySmoke(ChromeProxyBenchmark): | 258 class ChromeProxySmoke(ChromeProxyBenchmark): |
259 tag = 'smoke' | 259 tag = 'smoke' |
260 test = measurements.ChromeProxySmoke | 260 test = measurements.ChromeProxySmoke |
261 page_set = pagesets.SmokeStorySet | 261 page_set = pagesets.SmokeStorySet |
262 | 262 |
263 @classmethod | 263 @classmethod |
264 def Name(cls): | 264 def Name(cls): |
265 return 'chrome_proxy_benchmark.smoke.smoke' | 265 return 'chrome_proxy_benchmark.smoke.smoke' |
266 | 266 |
267 class ChromeProxyQuicSmoke(ChromeProxyBenchmark): | |
bustamante
2016/09/21 18:50:13
Per the issue with header validation on quic, it's
tbansal1
2016/09/22 17:25:42
IIUC, --extra-chrome-proxy-via-header only affects
| |
268 tag = 'smoke' | |
269 test = measurements.ChromeProxyQuicSmoke | |
270 page_set = pagesets.SmokeStorySet | |
271 | |
272 @classmethod | |
273 def Name(cls): | |
274 return 'chrome_proxy_benchmark.quic.smoke' | |
267 | 275 |
268 class ChromeProxyClientConfig(ChromeProxyBenchmark): | 276 class ChromeProxyClientConfig(ChromeProxyBenchmark): |
269 tag = 'client_config' | 277 tag = 'client_config' |
270 test = measurements.ChromeProxyClientConfig | 278 test = measurements.ChromeProxyClientConfig |
271 page_set = pagesets.SyntheticStorySet | 279 page_set = pagesets.SyntheticStorySet |
272 | 280 |
273 @classmethod | 281 @classmethod |
274 def Name(cls): | 282 def Name(cls): |
275 return 'chrome_proxy_benchmark.client_config.synthetic' | 283 return 'chrome_proxy_benchmark.client_config.synthetic' |
276 | 284 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
339 | 347 |
340 class ChromeProxyPingback(ChromeProxyBenchmark): | 348 class ChromeProxyPingback(ChromeProxyBenchmark): |
341 """Check that the pingback is sent and the server responds. """ | 349 """Check that the pingback is sent and the server responds. """ |
342 tag = 'pingback' | 350 tag = 'pingback' |
343 test = measurements.ChromeProxyPingback | 351 test = measurements.ChromeProxyPingback |
344 page_set = pagesets.PingbackStorySet | 352 page_set = pagesets.PingbackStorySet |
345 | 353 |
346 @classmethod | 354 @classmethod |
347 def Name(cls): | 355 def Name(cls): |
348 return 'chrome_proxy_benchmark.pingback' | 356 return 'chrome_proxy_benchmark.pingback' |
357 | |
358 class ChromeProxyQuicTransaction(ChromeProxyBenchmark): | |
359 """Check that Chrome uses QUIC correctly when connecting to a proxy | |
360 that supports QUIC. """ | |
361 tag = 'quic-proxy' | |
362 test = measurements.ChromeProxyQuicTransaction | |
363 page_set = pagesets.QuicStorySet | |
364 | |
365 @classmethod | |
366 def Name(cls): | |
367 return 'chrome_proxy_benchmark.quic.transaction' | |
OLD | NEW |