Add ICU message format support
[chromium-blink-merge.git] / tools / chrome_proxy / live_tests / chrome_proxy_benchmark.py
blob1f1814fd3c830d379f5c55439705bc9fac8b6e57
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.
5 from live_tests import chrome_proxy_measurements as measurements
6 from live_tests import pagesets
7 from telemetry import benchmark
10 class ChromeProxyLatency(benchmark.Benchmark):
11 tag = 'latency'
12 test = measurements.ChromeProxyLatency
13 page_set = pagesets.Top20StorySet
15 @classmethod
16 def Name(cls):
17 return 'chrome_proxy_benchmark.latency.top_20'
20 class ChromeProxyLatencyDirect(benchmark.Benchmark):
21 tag = 'latency_direct'
22 test = measurements.ChromeProxyLatency
23 page_set = pagesets.Top20StorySet
25 @classmethod
26 def Name(cls):
27 return 'chrome_proxy_benchmark.latency_direct.top_20'
30 class ChromeProxyDataSaving(benchmark.Benchmark):
31 tag = 'data_saving'
32 test = measurements.ChromeProxyDataSaving
33 page_set = pagesets.Top20StorySet
35 @classmethod
36 def Name(cls):
37 return 'chrome_proxy_benchmark.data_saving.top_20'
40 class ChromeProxyDataSavingDirect(benchmark.Benchmark):
41 tag = 'data_saving_direct'
42 test = measurements.ChromeProxyDataSaving
43 page_set = pagesets.Top20StorySet
45 @classmethod
46 def Name(cls):
47 return 'chrome_proxy_benchmark.data_saving_direct.top_20'