Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py

Issue 942863004: Integration test for “lo-fi” mode in Chrome-Proxy request header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py
diff --git a/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py b/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py
index 318c9def3aa7e93f83e95fe84d6baf0dca5616f4..292d3066e9d6ca65ab86458b2112647f62f32f27 100644
--- a/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py
+++ b/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py
@@ -115,6 +115,20 @@ class ChromeProxyClientType(benchmark.Benchmark):
return 'chrome_proxy_benchmark.client_type.client_type'
+class ChromeProxyLoFi(benchmark.Benchmark):
+ tag = 'lo_fi'
+ test = measurements.ChromeProxyLoFi
+ page_set = pagesets.LoFiPageSet
+
+ @classmethod
+ def Name(cls):
+ return 'chrome_proxy_benchmark.lo_fi.lo_fi'
+
+ def CustomizeBrowserOptions(self, options):
+ 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.
+ options.AppendExtraBrowserArgs('--enable-data-reduction-proxy-lo-fi')
+
+
class ChromeProxyBypass(benchmark.Benchmark):
tag = 'bypass'
test = measurements.ChromeProxyBypass

Powered by Google App Engine
This is Rietveld 408576698