| 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_pagesets as pagesets | 6 from integration_tests import chrome_proxy_pagesets as pagesets |
| 7 from integration_tests import chrome_proxy_measurements as measurements | 7 from integration_tests import chrome_proxy_measurements as measurements |
| 8 from telemetry import benchmark | 8 from telemetry import benchmark |
| 9 from telemetry.core.backends.chrome import android_browser_finder | 9 from telemetry.core.backends.chrome import android_browser_finder |
| 10 from telemetry.core.backends.chrome import cros_browser_finder | 10 from telemetry.core.backends.chrome import cros_browser_finder |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 class ChromeProxyExpDirective(ChromeProxyBenchmark): | 51 class ChromeProxyExpDirective(ChromeProxyBenchmark): |
| 52 tag = 'exp_directive' | 52 tag = 'exp_directive' |
| 53 test = measurements.ChromeProxyExpDirective | 53 test = measurements.ChromeProxyExpDirective |
| 54 page_set = pagesets.ExpDirectivePageSet | 54 page_set = pagesets.ExpDirectivePageSet |
| 55 | 55 |
| 56 @classmethod | 56 @classmethod |
| 57 def Name(cls): | 57 def Name(cls): |
| 58 return 'chrome_proxy_benchmark.exp_directive.exp_directive' | 58 return 'chrome_proxy_benchmark.exp_directive.exp_directive' |
| 59 | 59 |
| 60 | 60 |
| 61 class ChromeProxyPassThrough(ChromeProxyBenchmark): |
| 62 tag = 'pass_through' |
| 63 test = measurements.ChromeProxyPassThrough |
| 64 page_set = pagesets.PassThroughPageSet |
| 65 |
| 66 @classmethod |
| 67 def Name(cls): |
| 68 return 'chrome_proxy_benchmark.pass_through.pass_through' |
| 69 |
| 70 |
| 61 class ChromeProxyBypass(ChromeProxyBenchmark): | 71 class ChromeProxyBypass(ChromeProxyBenchmark): |
| 62 tag = 'bypass' | 72 tag = 'bypass' |
| 63 test = measurements.ChromeProxyBypass | 73 test = measurements.ChromeProxyBypass |
| 64 page_set = pagesets.BypassPageSet | 74 page_set = pagesets.BypassPageSet |
| 65 | 75 |
| 66 @classmethod | 76 @classmethod |
| 67 def Name(cls): | 77 def Name(cls): |
| 68 return 'chrome_proxy_benchmark.bypass.bypass' | 78 return 'chrome_proxy_benchmark.bypass.bypass' |
| 69 | 79 |
| 70 | 80 |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 benchmarks, then compares their results. | 208 benchmarks, then compares their results. |
| 199 """ | 209 """ |
| 200 | 210 |
| 201 tag = 'video' | 211 tag = 'video' |
| 202 test = measurements.ChromeProxyVideoValidation | 212 test = measurements.ChromeProxyVideoValidation |
| 203 page_set = pagesets.VideoComparePageSet | 213 page_set = pagesets.VideoComparePageSet |
| 204 | 214 |
| 205 @classmethod | 215 @classmethod |
| 206 def Name(cls): | 216 def Name(cls): |
| 207 return 'chrome_proxy_benchmark.video.compare' | 217 return 'chrome_proxy_benchmark.video.compare' |
| OLD | NEW |