| 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'] |
| 11 WEBVIEW_PLATFORMS = ['android-webview', 'android-webview-shell'] | 11 WEBVIEW_PLATFORMS = ['android-webview', 'android-webview-instrumentation'] |
| 12 | 12 |
| 13 | 13 |
| 14 class ChromeProxyBypassOnTimeout(ChromeProxyBenchmark): | 14 class ChromeProxyBypassOnTimeout(ChromeProxyBenchmark): |
| 15 """Check that the proxy bypasses when origin times out. | 15 """Check that the proxy bypasses when origin times out. |
| 16 | 16 |
| 17 If the origin site does not make an HTTP response in a reasonable | 17 If the origin site does not make an HTTP response in a reasonable |
| 18 amount of time, the proxy should bypass. | 18 amount of time, the proxy should bypass. |
| 19 """ | 19 """ |
| 20 tag = 'timeout_bypass' | 20 tag = 'timeout_bypass' |
| 21 test = measurements.ChromeProxyBypassOnTimeout | 21 test = measurements.ChromeProxyBypassOnTimeout |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 | 357 |
| 358 class ChromeProxyQuicTransaction(ChromeProxyBenchmark): | 358 class ChromeProxyQuicTransaction(ChromeProxyBenchmark): |
| 359 """Check that Chrome uses QUIC correctly when connecting to a proxy | 359 """Check that Chrome uses QUIC correctly when connecting to a proxy |
| 360 that supports QUIC. """ | 360 that supports QUIC. """ |
| 361 tag = 'quic-proxy' | 361 tag = 'quic-proxy' |
| 362 test = measurements.ChromeProxyQuicTransaction | 362 test = measurements.ChromeProxyQuicTransaction |
| 363 page_set = pagesets.QuicStorySet | 363 page_set = pagesets.QuicStorySet |
| 364 | 364 |
| 365 @classmethod | 365 @classmethod |
| 366 def Name(cls): | 366 def Name(cls): |
| 367 return 'chrome_proxy_benchmark.quic.transaction' | 367 return 'chrome_proxy_benchmark.quic.transaction' |
| OLD | NEW |