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

Unified Diff: tools/chrome_proxy/live_tests/chrome_proxy_benchmark.py

Issue 1556593002: Add live tests for measuring data savings metrics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/chrome_proxy/live_tests/pagesets/metrics.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/chrome_proxy/live_tests/chrome_proxy_benchmark.py
diff --git a/tools/chrome_proxy/live_tests/chrome_proxy_benchmark.py b/tools/chrome_proxy/live_tests/chrome_proxy_benchmark.py
index a9a34ff379b7e1079b94c98a6e31d15cdf1d0c12..68e75c13bbe1e7a567b361fe8f0f249fefff275f 100644
--- a/tools/chrome_proxy/live_tests/chrome_proxy_benchmark.py
+++ b/tools/chrome_proxy/live_tests/chrome_proxy_benchmark.py
@@ -27,6 +27,16 @@ class ChromeProxyLatencyDirect(benchmark.Benchmark):
return 'chrome_proxy_benchmark.latency_direct.top_20'
+class ChromeProxyLatencyMetrics(benchmark.Benchmark):
+ tag = 'latency_metrics'
+ test = measurements.ChromeProxyLatencyDirect
+ page_set = pagesets.MetricsStorySet
+
+ @classmethod
+ def Name(cls):
+ return 'chrome_proxy_benchmark.latency_metrics.metrics'
+
+
class ChromeProxyDataSaving(benchmark.Benchmark):
tag = 'data_saving'
test = measurements.ChromeProxyDataSaving
@@ -46,3 +56,12 @@ class ChromeProxyDataSavingDirect(benchmark.Benchmark):
def Name(cls):
return 'chrome_proxy_benchmark.data_saving_direct.top_20'
+class ChromeProxyDataSavingMetrics(benchmark.Benchmark):
+ tag = 'data_saving_metrics'
+ test = measurements.ChromeProxyDataSavingDirect
+ page_set = pagesets.MetricsStorySet
+
+ @classmethod
+ def Name(cls):
+ return 'chrome_proxy_benchmark.data_saving_metrics.metrics'
+
« no previous file with comments | « no previous file | tools/chrome_proxy/live_tests/pagesets/metrics.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698