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

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

Issue 1218073014: Migrate from telemetry PageSet -> StorySet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review comments and rebase Created 5 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
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 live_tests import chrome_proxy_measurements as measurements 5 from live_tests import chrome_proxy_measurements as measurements
6 from live_tests import pagesets 6 from live_tests import pagesets
7 from telemetry import benchmark 7 from telemetry import benchmark
8 8
9 9
10 class ChromeProxyLatency(benchmark.Benchmark): 10 class ChromeProxyLatency(benchmark.Benchmark):
11 tag = 'latency' 11 tag = 'latency'
12 test = measurements.ChromeProxyLatency 12 test = measurements.ChromeProxyLatency
13 page_set = pagesets.Top20PageSet 13 page_set = pagesets.Top20StorySet
14 14
15 @classmethod 15 @classmethod
16 def Name(cls): 16 def Name(cls):
17 return 'chrome_proxy_benchmark.latency.top_20' 17 return 'chrome_proxy_benchmark.latency.top_20'
18 18
19 19
20 class ChromeProxyLatencyDirect(benchmark.Benchmark): 20 class ChromeProxyLatencyDirect(benchmark.Benchmark):
21 tag = 'latency_direct' 21 tag = 'latency_direct'
22 test = measurements.ChromeProxyLatency 22 test = measurements.ChromeProxyLatency
23 page_set = pagesets.Top20PageSet 23 page_set = pagesets.Top20StorySet
24 24
25 @classmethod 25 @classmethod
26 def Name(cls): 26 def Name(cls):
27 return 'chrome_proxy_benchmark.latency_direct.top_20' 27 return 'chrome_proxy_benchmark.latency_direct.top_20'
28 28
29 29
30 class ChromeProxyDataSaving(benchmark.Benchmark): 30 class ChromeProxyDataSaving(benchmark.Benchmark):
31 tag = 'data_saving' 31 tag = 'data_saving'
32 test = measurements.ChromeProxyDataSaving 32 test = measurements.ChromeProxyDataSaving
33 page_set = pagesets.Top20PageSet 33 page_set = pagesets.Top20StorySet
34 34
35 @classmethod 35 @classmethod
36 def Name(cls): 36 def Name(cls):
37 return 'chrome_proxy_benchmark.data_saving.top_20' 37 return 'chrome_proxy_benchmark.data_saving.top_20'
38 38
39 39
40 class ChromeProxyDataSavingDirect(benchmark.Benchmark): 40 class ChromeProxyDataSavingDirect(benchmark.Benchmark):
41 tag = 'data_saving_direct' 41 tag = 'data_saving_direct'
42 test = measurements.ChromeProxyDataSaving 42 test = measurements.ChromeProxyDataSaving
43 page_set = pagesets.Top20PageSet 43 page_set = pagesets.Top20StorySet
44 44
45 @classmethod 45 @classmethod
46 def Name(cls): 46 def Name(cls):
47 return 'chrome_proxy_benchmark.data_saving_direct.top_20' 47 return 'chrome_proxy_benchmark.data_saving_direct.top_20'
48 48
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698