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 | 10 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 class ChromeProxyExpDirective(ChromeProxyBenchmark): | 47 class ChromeProxyExpDirective(ChromeProxyBenchmark): |
48 tag = 'exp_directive' | 48 tag = 'exp_directive' |
49 test = measurements.ChromeProxyExpDirective | 49 test = measurements.ChromeProxyExpDirective |
50 page_set = pagesets.ExpDirectivePageSet | 50 page_set = pagesets.ExpDirectivePageSet |
51 | 51 |
52 @classmethod | 52 @classmethod |
53 def Name(cls): | 53 def Name(cls): |
54 return 'chrome_proxy_benchmark.exp_directive.exp_directive' | 54 return 'chrome_proxy_benchmark.exp_directive.exp_directive' |
55 | 55 |
56 | 56 |
| 57 class ChromeProxyPassThrough(ChromeProxyBenchmark): |
| 58 tag = 'pass_through' |
| 59 test = measurements.ChromeProxyPassThrough |
| 60 page_set = pagesets.PassThroughPageSet |
| 61 |
| 62 @classmethod |
| 63 def Name(cls): |
| 64 return 'chrome_proxy_benchmark.pass_through.pass_through' |
| 65 |
| 66 |
57 class ChromeProxyBypass(ChromeProxyBenchmark): | 67 class ChromeProxyBypass(ChromeProxyBenchmark): |
58 tag = 'bypass' | 68 tag = 'bypass' |
59 test = measurements.ChromeProxyBypass | 69 test = measurements.ChromeProxyBypass |
60 page_set = pagesets.BypassPageSet | 70 page_set = pagesets.BypassPageSet |
61 | 71 |
62 @classmethod | 72 @classmethod |
63 def Name(cls): | 73 def Name(cls): |
64 return 'chrome_proxy_benchmark.bypass.bypass' | 74 return 'chrome_proxy_benchmark.bypass.bypass' |
65 | 75 |
66 | 76 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 | 159 |
150 | 160 |
151 class ChromeProxySmoke(ChromeProxyBenchmark): | 161 class ChromeProxySmoke(ChromeProxyBenchmark): |
152 tag = 'smoke' | 162 tag = 'smoke' |
153 test = measurements.ChromeProxySmoke | 163 test = measurements.ChromeProxySmoke |
154 page_set = pagesets.SmokePageSet | 164 page_set = pagesets.SmokePageSet |
155 | 165 |
156 @classmethod | 166 @classmethod |
157 def Name(cls): | 167 def Name(cls): |
158 return 'chrome_proxy_benchmark.smoke.smoke' | 168 return 'chrome_proxy_benchmark.smoke.smoke' |
OLD | NEW |