| 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 integration_tests import chrome_proxy_measurements as measurements | 5 from integration_tests import chrome_proxy_measurements as measurements |
| 6 from integration_tests import chrome_proxy_pagesets as pagesets | 6 from integration_tests import chrome_proxy_pagesets as pagesets |
| 7 from telemetry import benchmark | 7 from telemetry import benchmark |
| 8 from telemetry.core.backends.chrome import android_browser_finder | 8 from telemetry.core.backends.chrome import android_browser_finder |
| 9 | 9 |
| 10 | 10 |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 class ChromeProxyLoFi(benchmark.Benchmark): | 117 class ChromeProxyLoFi(benchmark.Benchmark): |
| 118 tag = 'lo_fi' | 118 tag = 'lo_fi' |
| 119 test = measurements.ChromeProxyLoFi | 119 test = measurements.ChromeProxyLoFi |
| 120 page_set = pagesets.LoFiPageSet | 120 page_set = pagesets.LoFiPageSet |
| 121 | 121 |
| 122 @classmethod | 122 @classmethod |
| 123 def Name(cls): | 123 def Name(cls): |
| 124 return 'chrome_proxy_benchmark.lo_fi.lo_fi' | 124 return 'chrome_proxy_benchmark.lo_fi.lo_fi' |
| 125 | 125 |
| 126 | 126 |
| 127 class ChromeProxyExpDirective(benchmark.Benchmark): |
| 128 tag = 'exp_directive' |
| 129 test = measurements.ChromeProxyExpDirective |
| 130 page_set = pagesets.ExpDirectivePageSet |
| 131 |
| 132 @classmethod |
| 133 def Name(cls): |
| 134 return 'chrome_proxy_benchmark.exp_directive.exp_directive' |
| 135 |
| 136 |
| 127 class ChromeProxyBypass(benchmark.Benchmark): | 137 class ChromeProxyBypass(benchmark.Benchmark): |
| 128 tag = 'bypass' | 138 tag = 'bypass' |
| 129 test = measurements.ChromeProxyBypass | 139 test = measurements.ChromeProxyBypass |
| 130 page_set = pagesets.BypassPageSet | 140 page_set = pagesets.BypassPageSet |
| 131 | 141 |
| 132 @classmethod | 142 @classmethod |
| 133 def Name(cls): | 143 def Name(cls): |
| 134 return 'chrome_proxy_benchmark.bypass.bypass' | 144 return 'chrome_proxy_benchmark.bypass.bypass' |
| 135 | 145 |
| 136 | 146 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 | 229 |
| 220 | 230 |
| 221 class ChromeProxySmoke(benchmark.Benchmark): | 231 class ChromeProxySmoke(benchmark.Benchmark): |
| 222 tag = 'smoke' | 232 tag = 'smoke' |
| 223 test = measurements.ChromeProxySmoke | 233 test = measurements.ChromeProxySmoke |
| 224 page_set = pagesets.SmokePageSet | 234 page_set = pagesets.SmokePageSet |
| 225 | 235 |
| 226 @classmethod | 236 @classmethod |
| 227 def Name(cls): | 237 def Name(cls): |
| 228 return 'chrome_proxy_benchmark.smoke.smoke' | 238 return 'chrome_proxy_benchmark.smoke.smoke' |
| OLD | NEW |