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

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

Issue 2296043003: Rename Lo-Fi previews to lite pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@newLoFiInfoBarAddTests
Patch Set: add back histogram value Created 4 years, 2 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_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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 tag = 'cache_proxy_disabled' 76 tag = 'cache_proxy_disabled'
77 test = measurements.ChromeProxyCacheProxyDisabled 77 test = measurements.ChromeProxyCacheProxyDisabled
78 page_set = pagesets.LoFiCacheStorySet 78 page_set = pagesets.LoFiCacheStorySet
79 79
80 @classmethod 80 @classmethod
81 def Name(cls): 81 def Name(cls):
82 return 'chrome_proxy_benchmark.lo_fi.cache_proxy_disabled' 82 return 'chrome_proxy_benchmark.lo_fi.cache_proxy_disabled'
83 83
84 84
85 @benchmark.Disabled(*WEBVIEW_PLATFORMS) 85 @benchmark.Disabled(*WEBVIEW_PLATFORMS)
86 class ChromeProxyPreviewLoFi(ChromeProxyBenchmark): 86 class ChromeProxyLitePage(ChromeProxyBenchmark):
87 tag = 'lo_fi_preview' 87 tag = 'lite_page'
88 test = measurements.ChromeProxyLoFiPreview 88 test = measurements.ChromeProxyLitePage
89 page_set = pagesets.LoFiPreviewStorySet 89 page_set = pagesets.LitePageStorySet
90 90
91 @classmethod 91 @classmethod
92 def Name(cls): 92 def Name(cls):
93 return 'chrome_proxy_benchmark.lo_fi_preview.lo_fi_preview' 93 return 'chrome_proxy_benchmark.lite_page.lite_page'
94 94
95 95
96 class ChromeProxyExpDirective(ChromeProxyBenchmark): 96 class ChromeProxyExpDirective(ChromeProxyBenchmark):
97 tag = 'exp_directive' 97 tag = 'exp_directive'
98 test = measurements.ChromeProxyExpDirective 98 test = measurements.ChromeProxyExpDirective
99 page_set = pagesets.ExpDirectiveStorySet 99 page_set = pagesets.ExpDirectiveStorySet
100 100
101 @classmethod 101 @classmethod
102 def Name(cls): 102 def Name(cls):
103 return 'chrome_proxy_benchmark.exp_directive.exp_directive' 103 return 'chrome_proxy_benchmark.exp_directive.exp_directive'
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 class ChromeProxyQuicTransaction(ChromeProxyBenchmark): 358 class ChromeProxyQuicTransaction(ChromeProxyBenchmark):
359 """Check that Chrome uses QUIC correctly when connecting to a proxy 359 """Check that Chrome uses QUIC correctly when connecting to a proxy
360 that supports QUIC. """ 360 that supports QUIC. """
361 tag = 'quic-proxy' 361 tag = 'quic-proxy'
362 test = measurements.ChromeProxyQuicTransaction 362 test = measurements.ChromeProxyQuicTransaction
363 page_set = pagesets.QuicStorySet 363 page_set = pagesets.QuicStorySet
364 364
365 @classmethod 365 @classmethod
366 def Name(cls): 366 def Name(cls):
367 return 'chrome_proxy_benchmark.quic.transaction' 367 return 'chrome_proxy_benchmark.quic.transaction'
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698