OLD | NEW |
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'] |
11 WEBVIEW_PLATFORMS = ['android-webview', 'android-webview-shell'] | 11 WEBVIEW_PLATFORMS = ['android-webview', 'android-webview-shell'] |
12 | 12 |
13 class ChromeProxyClientVersion(ChromeProxyBenchmark): | |
14 tag = 'client_version' | |
15 test = measurements.ChromeProxyClientVersion | |
16 page_set = pagesets.SyntheticStorySet | |
17 | |
18 @classmethod | |
19 def Name(cls): | |
20 return 'chrome_proxy_benchmark.client_version.synthetic' | |
21 | |
22 | |
23 class ChromeProxyClientType(ChromeProxyBenchmark): | 13 class ChromeProxyClientType(ChromeProxyBenchmark): |
24 tag = 'client_type' | 14 tag = 'client_type' |
25 test = measurements.ChromeProxyClientType | 15 test = measurements.ChromeProxyClientType |
26 page_set = pagesets.ClientTypeStorySet | 16 page_set = pagesets.ClientTypeStorySet |
27 | 17 |
28 @classmethod | 18 @classmethod |
29 def Name(cls): | 19 def Name(cls): |
30 return 'chrome_proxy_benchmark.client_type.client_type' | 20 return 'chrome_proxy_benchmark.client_type.client_type' |
31 | 21 |
32 | 22 |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 """Check that audio is similar to original video.""" | 278 """Check that audio is similar to original video.""" |
289 | 279 |
290 tag = 'video' | 280 tag = 'video' |
291 test = measurements.ChromeProxyInstrumentedVideoValidation | 281 test = measurements.ChromeProxyInstrumentedVideoValidation |
292 page_set = pagesets.VideoAudioStorySet | 282 page_set = pagesets.VideoAudioStorySet |
293 | 283 |
294 @classmethod | 284 @classmethod |
295 def Name(cls): | 285 def Name(cls): |
296 return 'chrome_proxy_benchmark.video.audio' | 286 return 'chrome_proxy_benchmark.video.audio' |
297 | 287 |
OLD | NEW |