Chromium Code Reviews| 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 154 class ChromeProxySafeBrowsingOn(benchmark.Benchmark): | 154 class ChromeProxySafeBrowsingOn(benchmark.Benchmark): |
| 155 tag = 'safebrowsing_on' | 155 tag = 'safebrowsing_on' |
| 156 test = measurements.ChromeProxySafebrowsingOn | 156 test = measurements.ChromeProxySafebrowsingOn |
| 157 page_set = pagesets.SafebrowsingPageSet | 157 page_set = pagesets.SafebrowsingPageSet |
| 158 | 158 |
| 159 @classmethod | 159 @classmethod |
| 160 def Name(cls): | 160 def Name(cls): |
| 161 return 'chrome_proxy_benchmark.safebrowsing_on.safebrowsing' | 161 return 'chrome_proxy_benchmark.safebrowsing_on.safebrowsing' |
| 162 | 162 |
| 163 | 163 |
| 164 @benchmark.Disabled('android') | |
|
sclittle
2015/03/17 22:24:54
Doesn't 'android' also apply to android webview?
bengr
2015/03/17 22:32:05
I thought 'android-webview' was for webview.
| |
| 164 # Safebrowsing is switched off for Android Webview and all desktop platforms. | 165 # Safebrowsing is switched off for Android Webview and all desktop platforms. |
| 165 class ChromeProxySafeBrowsingOff(benchmark.Benchmark): | 166 class ChromeProxySafeBrowsingOff(benchmark.Benchmark): |
| 166 tag = 'safebrowsing_off' | 167 tag = 'safebrowsing_off' |
| 167 test = measurements.ChromeProxySafebrowsingOff | 168 test = measurements.ChromeProxySafebrowsingOff |
| 168 page_set = pagesets.SafebrowsingPageSet | 169 page_set = pagesets.SafebrowsingPageSet |
| 169 | 170 |
| 170 @classmethod | 171 @classmethod |
| 171 def Name(cls): | 172 def Name(cls): |
| 172 return 'chrome_proxy_benchmark.safebrowsing_off.safebrowsing' | 173 return 'chrome_proxy_benchmark.safebrowsing_off.safebrowsing' |
| 173 | 174 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 213 | 214 |
| 214 | 215 |
| 215 class ChromeProxySmoke(benchmark.Benchmark): | 216 class ChromeProxySmoke(benchmark.Benchmark): |
| 216 tag = 'smoke' | 217 tag = 'smoke' |
| 217 test = measurements.ChromeProxySmoke | 218 test = measurements.ChromeProxySmoke |
| 218 page_set = pagesets.SmokePageSet | 219 page_set = pagesets.SmokePageSet |
| 219 | 220 |
| 220 @classmethod | 221 @classmethod |
| 221 def Name(cls): | 222 def Name(cls): |
| 222 return 'chrome_proxy_benchmark.smoke.smoke' | 223 return 'chrome_proxy_benchmark.smoke.smoke' |
| OLD | NEW |