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

Side by Side Diff: tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py

Issue 1151753003: Integration test for Chrome-Proxy: pass-through directive (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@loFiSnackbar
Patch Set: rebase Created 5 years, 7 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 unified diff | Download patch
OLDNEW
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 from telemetry.core.backends.chrome import cros_browser_finder 10 from telemetry.core.backends.chrome import cros_browser_finder
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 class ChromeProxyExpDirective(ChromeProxyBenchmark): 51 class ChromeProxyExpDirective(ChromeProxyBenchmark):
52 tag = 'exp_directive' 52 tag = 'exp_directive'
53 test = measurements.ChromeProxyExpDirective 53 test = measurements.ChromeProxyExpDirective
54 page_set = pagesets.ExpDirectivePageSet 54 page_set = pagesets.ExpDirectivePageSet
55 55
56 @classmethod 56 @classmethod
57 def Name(cls): 57 def Name(cls):
58 return 'chrome_proxy_benchmark.exp_directive.exp_directive' 58 return 'chrome_proxy_benchmark.exp_directive.exp_directive'
59 59
60 60
61 class ChromeProxyPassThrough(ChromeProxyBenchmark):
62 tag = 'pass_through'
63 test = measurements.ChromeProxyPassThrough
64 page_set = pagesets.PassThroughPageSet
65
66 @classmethod
67 def Name(cls):
68 return 'chrome_proxy_benchmark.pass_through.pass_through'
69
70
61 class ChromeProxyBypass(ChromeProxyBenchmark): 71 class ChromeProxyBypass(ChromeProxyBenchmark):
62 tag = 'bypass' 72 tag = 'bypass'
63 test = measurements.ChromeProxyBypass 73 test = measurements.ChromeProxyBypass
64 page_set = pagesets.BypassPageSet 74 page_set = pagesets.BypassPageSet
65 75
66 @classmethod 76 @classmethod
67 def Name(cls): 77 def Name(cls):
68 return 'chrome_proxy_benchmark.bypass.bypass' 78 return 'chrome_proxy_benchmark.bypass.bypass'
69 79
70 80
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 benchmarks, then compares their results. 208 benchmarks, then compares their results.
199 """ 209 """
200 210
201 tag = 'video' 211 tag = 'video'
202 test = measurements.ChromeProxyVideoValidation 212 test = measurements.ChromeProxyVideoValidation
203 page_set = pagesets.VideoComparePageSet 213 page_set = pagesets.VideoComparePageSet
204 214
205 @classmethod 215 @classmethod
206 def Name(cls): 216 def Name(cls):
207 return 'chrome_proxy_benchmark.video.compare' 217 return 'chrome_proxy_benchmark.video.compare'
OLDNEW
« no previous file with comments | « tools/chrome_proxy/common/chrome_proxy_metrics.py ('k') | tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698