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 | 8 |
9 | 9 |
10 class ChromeProxyLatency(benchmark.Benchmark): | 10 class ChromeProxyLatency(benchmark.Benchmark): |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
108 class ChromeProxyClientType(benchmark.Benchmark): | 108 class ChromeProxyClientType(benchmark.Benchmark): |
109 tag = 'client_type' | 109 tag = 'client_type' |
110 test = measurements.ChromeProxyClientType | 110 test = measurements.ChromeProxyClientType |
111 page_set = pagesets.ClientTypePageSet | 111 page_set = pagesets.ClientTypePageSet |
112 | 112 |
113 @classmethod | 113 @classmethod |
114 def Name(cls): | 114 def Name(cls): |
115 return 'chrome_proxy_benchmark.client_type.client_type' | 115 return 'chrome_proxy_benchmark.client_type.client_type' |
116 | 116 |
117 | 117 |
118 class ChromeProxyLoFi(benchmark.Benchmark): | |
119 tag = 'lo_fi' | |
120 test = measurements.ChromeProxyLoFi | |
121 page_set = pagesets.LoFiPageSet | |
122 | |
123 @classmethod | |
124 def Name(cls): | |
125 return 'chrome_proxy_benchmark.lo_fi.lo_fi' | |
126 | |
127 def CustomizeBrowserOptions(self, options): | |
128 options.AppendExtraBrowserArgs('--enable-spdy-proxy-auth') | |
bengr
2015/02/27 23:38:38
The lofi flag should be added in measurements. Non
megjablon
2015/02/28 00:57:32
Done.
| |
129 options.AppendExtraBrowserArgs('--enable-data-reduction-proxy-lo-fi') | |
130 | |
131 | |
118 class ChromeProxyBypass(benchmark.Benchmark): | 132 class ChromeProxyBypass(benchmark.Benchmark): |
119 tag = 'bypass' | 133 tag = 'bypass' |
120 test = measurements.ChromeProxyBypass | 134 test = measurements.ChromeProxyBypass |
121 page_set = pagesets.BypassPageSet | 135 page_set = pagesets.BypassPageSet |
122 | 136 |
123 @classmethod | 137 @classmethod |
124 def Name(cls): | 138 def Name(cls): |
125 return 'chrome_proxy_benchmark.bypass.bypass' | 139 return 'chrome_proxy_benchmark.bypass.bypass' |
126 | 140 |
127 | 141 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
209 | 223 |
210 | 224 |
211 class ChromeProxySmoke(benchmark.Benchmark): | 225 class ChromeProxySmoke(benchmark.Benchmark): |
212 tag = 'smoke' | 226 tag = 'smoke' |
213 test = measurements.ChromeProxySmoke | 227 test = measurements.ChromeProxySmoke |
214 page_set = pagesets.SmokePageSet | 228 page_set = pagesets.SmokePageSet |
215 | 229 |
216 @classmethod | 230 @classmethod |
217 def Name(cls): | 231 def Name(cls): |
218 return 'chrome_proxy_benchmark.smoke.smoke' | 232 return 'chrome_proxy_benchmark.smoke.smoke' |
OLD | NEW |