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

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

Issue 2357723002: Add integration tests for QUIC (Closed)
Patch Set: Addressed comments Created 4 years, 3 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/chrome_proxy/integration_tests/chrome_proxy_measurements.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_measurements as measurements 6 from integration_tests import chrome_proxy_measurements as measurements
7 from integration_tests import chrome_proxy_pagesets as pagesets 7 from integration_tests import chrome_proxy_pagesets as pagesets
8 from telemetry import benchmark 8 from telemetry import benchmark
9 9
10 DESKTOP_PLATFORMS = ['mac', 'linux', 'win', 'chromeos'] 10 DESKTOP_PLATFORMS = ['mac', 'linux', 'win', 'chromeos']
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 257
258 class ChromeProxySmoke(ChromeProxyBenchmark): 258 class ChromeProxySmoke(ChromeProxyBenchmark):
259 tag = 'smoke' 259 tag = 'smoke'
260 test = measurements.ChromeProxySmoke 260 test = measurements.ChromeProxySmoke
261 page_set = pagesets.SmokeStorySet 261 page_set = pagesets.SmokeStorySet
262 262
263 @classmethod 263 @classmethod
264 def Name(cls): 264 def Name(cls):
265 return 'chrome_proxy_benchmark.smoke.smoke' 265 return 'chrome_proxy_benchmark.smoke.smoke'
266 266
267 class ChromeProxyQuicSmoke(ChromeProxyBenchmark):
268 tag = 'smoke'
269 test = measurements.ChromeProxyQuicSmoke
270 page_set = pagesets.SmokeStorySet
271
272 @classmethod
273 def Name(cls):
274 return 'chrome_proxy_benchmark.quic.smoke'
267 275
268 class ChromeProxyClientConfig(ChromeProxyBenchmark): 276 class ChromeProxyClientConfig(ChromeProxyBenchmark):
269 tag = 'client_config' 277 tag = 'client_config'
270 test = measurements.ChromeProxyClientConfig 278 test = measurements.ChromeProxyClientConfig
271 page_set = pagesets.SyntheticStorySet 279 page_set = pagesets.SyntheticStorySet
272 280
273 @classmethod 281 @classmethod
274 def Name(cls): 282 def Name(cls):
275 return 'chrome_proxy_benchmark.client_config.synthetic' 283 return 'chrome_proxy_benchmark.client_config.synthetic'
276 284
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 347
340 class ChromeProxyPingback(ChromeProxyBenchmark): 348 class ChromeProxyPingback(ChromeProxyBenchmark):
341 """Check that the pingback is sent and the server responds. """ 349 """Check that the pingback is sent and the server responds. """
342 tag = 'pingback' 350 tag = 'pingback'
343 test = measurements.ChromeProxyPingback 351 test = measurements.ChromeProxyPingback
344 page_set = pagesets.PingbackStorySet 352 page_set = pagesets.PingbackStorySet
345 353
346 @classmethod 354 @classmethod
347 def Name(cls): 355 def Name(cls):
348 return 'chrome_proxy_benchmark.pingback' 356 return 'chrome_proxy_benchmark.pingback'
357
358 class ChromeProxyQuicTransaction(ChromeProxyBenchmark):
359 """Check that Chrome uses QUIC correctly when connecting to a proxy
360 that supports QUIC. """
361 tag = 'quic-proxy'
362 test = measurements.ChromeProxyQuicTransaction
363 page_set = pagesets.QuicStorySet
364
365 @classmethod
366 def Name(cls):
367 return 'chrome_proxy_benchmark.quic.transaction'
OLDNEW
« no previous file with comments | « no previous file | tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698