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

Side by Side Diff: tools/perf/benchmarks/chrome_proxy.py

Issue 191383003: First cut of chrome-proxy (data reduction proxy) measurements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix rebasing. Created 6 years, 9 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
« no previous file with comments | « no previous file | tools/perf/measurements/chrome_proxy.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 from telemetry import test
6 from measurements import chrome_proxy
7
8
9 class ChromeProxyLatency(test.Test):
10 tag = 'latency'
11 test = chrome_proxy.ChromeProxyLatency
12 page_set = 'page_sets/chrome_proxy/top_20.json'
13 options = {'pageset_repeat_iters': 2}
14
15 def CustomizeBrowserOptions(self, options):
16 options.AppendExtraBrowserArgs('--enable-spdy-proxy-auth')
17
18
19 class ChromeProxyLatencyDirect(test.Test):
20 tag = 'latency_direct'
21 test = chrome_proxy.ChromeProxyLatency
22 page_set = 'page_sets/chrome_proxy/top_20.json'
23 options = {'pageset_repeat_iters': 2}
24
25
26 class ChromeProxyLatencySynthetic(ChromeProxyLatency):
27 page_set = 'page_sets/chrome_proxy/synthetic.json'
28
29
30 class ChromeProxyLatencySyntheticDirect(ChromeProxyLatencyDirect):
31 page_set = 'page_sets/chrome_proxy/synthetic.json'
32
33
34 class ChromeProxyDataSaving(test.Test):
35 tag = 'data_saving'
36 test = chrome_proxy.ChromeProxyDataSaving
37 page_set = 'page_sets/chrome_proxy/top_20.json'
38 options = {'pageset_repeat_iters': 1}
39 def CustomizeBrowserOptions(self, options):
40 options.AppendExtraBrowserArgs('--enable-spdy-proxy-auth')
41
42
43 class ChromeProxyDataSavingDirect(test.Test):
44 tag = 'data_saving_direct'
45 test = chrome_proxy.ChromeProxyDataSaving
46 options = {'pageset_repeat_iters': 2}
47 page_set = 'page_sets/chrome_proxy/top_20.json'
48
49
50 class ChromeProxyDataSavingSynthetic(ChromeProxyDataSaving):
51 page_set = 'page_sets/chrome_proxy/synthetic.json'
52
53
54 class ChromeProxyDataSavingSyntheticDirect(ChromeProxyDataSavingDirect):
55 page_set = 'page_sets/chrome_proxy/synthetic.json'
56
57
58 class ChromeProxyHeaderValidation(test.Test):
59 tag = 'header_validation'
60 test = chrome_proxy.ChromeProxyHeaders
61 page_set = 'page_sets/chrome_proxy/top_20.json'
62
63
64 class ChromeProxyBypass(test.Test):
65 tag = 'bypass'
66 test = chrome_proxy.ChromeProxyBypass
67 page_set = 'page_sets/chrome_proxy/bypass.json'
68
69
70 class ChromeProxySafeBrowsing(test.Test):
71 tag = 'safebrowsing'
72 test = chrome_proxy.ChromeProxySafebrowsing
73 page_set = 'page_sets/chrome_proxy/safebrowsing.json'
74
75
76 class ChromeProxySmoke(test.Test):
77 tag = 'smoke'
78 test = chrome_proxy.ChromeProxySmoke
79 page_set = 'page_sets/chrome_proxy/smoke.json'
OLDNEW
« no previous file with comments | « no previous file | tools/perf/measurements/chrome_proxy.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698