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

Side by Side Diff: Tools/Scripts/webkitpy/thirdparty/webpagereplay/perftracker/runner_cfg.py

Issue 18418010: Check in the thirdparty libs needed for webkitpy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # Copyright 2010 Google Inc. All Rights Reserved.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 # http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 #
17 # Location of Chrome to test.
18 #
19 chrome_path = '<path to chrome>'
20
21 #
22 # Location of the SPDY proxy server to use (if testing SPDY)
23 #
24 spdy_proxy_server_path = "<path to spdy proxy program>"
25
26 #
27 # Location of the recorded replay data.
28 #
29 replay_data_archive = '<path to archive>'
30
31 #
32 # The URL of the PerfTracker web application to post results to
33 #
34 appengine_host = 'localhost'
35 appengine_port = 8080
36 appengine_user = None
37 appengine_password = None
38 appengine_url = 'http://%s:%d/' % (appengine_host, appengine_port)
39
40 #
41 # Script to run between each run.
42 #
43 # Use this to grab a fresh copy of the browser, update your sources, or turn
44 # on/off monitoring systems, etc.
45 #
46 inter_run_cleanup_script = None
47
48 #
49 # SSL network options
50 #
51 ssl = {
52 'certfile': '../cert.pem',
53 'keyfile': '../key.pem',
54 }
55
56 #
57 # Number of times to load each URL for each network.
58 #
59 iterations = 15
60
61 #
62 # The configuration to use in the runner
63 #
64 networks = []
65
66 # Unlimited network speed for both http and spdy.
67 networks += [
68 {
69 'bandwidth_kbps': {
70 'down': 0,
71 'up': 0,
72 },
73 'round_trip_time_ms': 0,
74 'packet_loss_percent': 0,
75 'protocol': protocols,
76 }
77 for protocols in ['http', 'spdy']
78 ]
79
80 # Vary RTT against "Cable" speed bandwidth.
81 networks += [
82 {
83 'bandwidth_kbps': {
84 'down': 5000,
85 'up': 1000,
86 },
87 'round_trip_time_ms': round_trip_times,
88 'packet_loss_percent': 0,
89 'protocol': protocols,
90 }
91 for protocols in ['http', 'spdy']
92 for round_trip_times in [20, 40, 80, 100, 120]
93 ]
94
95 # Vary bandwidth against a pretty reasonable RTT.
96 networks += [
97 {
98 'bandwidth_kbps': bandwidths,
99 'round_trip_time_ms': 40,
100 'packet_loss_percent': 0,
101 'protocol': protocols,
102 }
103 for protocols in ['http', 'spdy']
104 for bandwidths in [
105 # DSL.
106 {
107 'down': 2000,
108 'up': 400,
109 },
110 # Cable.
111 {
112 'down': 5000,
113 'up': 1000,
114 },
115 # 10Mbps.
116 {
117 'down': 10000,
118 'up': 10000,
119 },
120 ]
121 ]
122
123 # Packet loss and a slow network.
124 networks += [
125 {
126 'bandwidth_kbps': {
127 'down': 2000,
128 'up': 400,
129 },
130 'round_trip_time_ms': 40,
131 'packet_loss_percent': 1,
132 'protocol': protocols,
133 }
134 for protocols in ['http', 'spdy']
135 ]
136
137 #
138 # URLs to test.
139 #
140 urls = [
141 "http://www.google.com/",
142 "http://www.google.com/search?q=dogs",
143 "http://www.facebook.com/",
144 "http://www.youtube.com/",
145 "http://www.yahoo.com/",
146 "http://www.baidu.com/",
147 "http://www.baidu.com/s?wd=obama",
148 "http://www.wikipedia.org/",
149 "http://en.wikipedia.org/wiki/Lady_gaga",
150 "http://googleblog.blogspot.com/",
151 "http://www.qq.com/",
152 "http://twitter.com/",
153 "http://twitter.com/search?q=pizza",
154 "http://www.msn.com/",
155 "http://www.yahoo.co.jp/",
156 "http://www.amazon.com/",
157 "http://wordpress.com/",
158 "http://www.linkedin.com/",
159 "http://www.microsoft.com/en/us/default.aspx",
160 "http://www.ebay.com/",
161 "http://fashion.ebay.com/womens-clothing",
162 "http://www.bing.com/",
163 "http://www.bing.com/search?q=cars",
164 "http://www.yandex.ru/",
165 "http://yandex.ru/yandsearch?text=obama&lr=84",
166 "http://www.163.com/",
167 "http://www.fc2.com/",
168 "http://www.conduit.com/",
169 "http://www.mail.ru/",
170 "http://www.flickr.com/",
171 "http://www.flickr.com/photos/tags/flowers",
172 "http://www.nytimes.com/",
173 "http://www.cnn.com/",
174 "http://www.apple.com/",
175 "http://www.bbc.co.uk/",
176 "http://www.imdb.com/",
177 "http://sfbay.craigslist.org/",
178 "http://www.sohu.com/",
179 "http://go.com/",
180 "http://search.yahoo.com/search?p=disney",
181 "http://espn.go.com/",
182 "http://ameblo.jp/",
183 "http://en.rakuten.co.jp/",
184 "http://www.adobe.com/",
185 "http://www.cnet.com/"
186 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698