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

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

Issue 1098253004: Move top_20 tests to a separate suite (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use ChromeProxyValidation in common in integration_tests Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
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
new file mode 100644
index 0000000000000000000000000000000000000000..6ed90c9149ff761b9b4dece6fbdebde2be08c569
--- /dev/null
+++ b/tools/chrome_proxy/live_tests/chrome_proxy_benchmark.py
@@ -0,0 +1,49 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+from live_tests import chrome_proxy_measurements as measurements
+from live_tests import pagesets
+from telemetry import benchmark
+from telemetry.core.backends.chrome import android_browser_finder
+
+
+class ChromeProxyLatency(benchmark.Benchmark):
+ tag = 'latency'
+ test = measurements.ChromeProxyLatency
+ page_set = pagesets.Top20PageSet
+
+ @classmethod
+ def Name(cls):
+ return 'chrome_proxy_benchmark.latency.top_20'
+
+
+class ChromeProxyLatencyDirect(benchmark.Benchmark):
+ tag = 'latency_direct'
+ test = measurements.ChromeProxyLatency
+ page_set = pagesets.Top20PageSet
+
+ @classmethod
+ def Name(cls):
+ return 'chrome_proxy_benchmark.latency_direct.top_20'
+
+
+class ChromeProxyDataSaving(benchmark.Benchmark):
+ tag = 'data_saving'
+ test = measurements.ChromeProxyDataSaving
+ page_set = pagesets.Top20PageSet
+
+ @classmethod
+ def Name(cls):
+ return 'chrome_proxy_benchmark.data_saving.top_20'
+
+
+class ChromeProxyDataSavingDirect(benchmark.Benchmark):
+ tag = 'data_saving_direct'
+ test = measurements.ChromeProxyDataSaving
+ page_set = pagesets.Top20PageSet
+
+ @classmethod
+ def Name(cls):
+ return 'chrome_proxy_benchmark.data_saving_direct.top_20'
+
« no previous file with comments | « tools/chrome_proxy/live_tests/__init__.py ('k') | tools/chrome_proxy/live_tests/chrome_proxy_measurements.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698