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

Unified Diff: tools/perf/benchmarks/signin.py

Issue 134733019: Add perf histogram and tests for inline signin (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/perf/benchmarks/signin.py
diff --git a/tools/perf/benchmarks/signin.py b/tools/perf/benchmarks/signin.py
new file mode 100644
index 0000000000000000000000000000000000000000..97ee122612846de0b0c2286338ba592a9563321d
--- /dev/null
+++ b/tools/perf/benchmarks/signin.py
@@ -0,0 +1,28 @@
+# 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 measurements import signin
+from telemetry import test
+
+class SigninSingleTab(test.Test):
+ tag = 'navigate'
+ test = signin.SigninMeasurement
+ page_set = 'page_sets/signin.json'
+ options = {'pageset_repeat_iters': 5}
+
+
+class SigninMultiTab(test.Test):
+ tag = 'multitab_navigate'
+ test = signin.SigninMultiTabMeasurement
+ page_set = 'page_sets/signin.json'
+ options = {'pageset_repeat_iters': 10}
+
+
+class SigninStartup(test.Test):
+ # This test runs against the real gaia server, thus should not be used for
+ # benchmarking.
+ tag = 'startup'
+ test = signin.SigninStartUpMeasurement
+ page_set = 'page_sets/blank_page.json'
+ options = {'pageset_repeat_iters': 5}

Powered by Google App Engine
This is Rietveld 408576698