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

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

Issue 113563004: Add perf tests for starting Chrome with URL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test descriptions in start_with_url Created 7 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
Index: tools/perf/benchmarks/session_restore_with_url.py
diff --git a/tools/perf/benchmarks/session_restore_with_url.py b/tools/perf/benchmarks/session_restore_with_url.py
new file mode 100644
index 0000000000000000000000000000000000000000..f2e72c8e2093243ae54230828f14cb7ad057995a
--- /dev/null
+++ b/tools/perf/benchmarks/session_restore_with_url.py
@@ -0,0 +1,24 @@
+# Copyright 2013 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 telemetry import test
+
+from measurements import session_restore_with_url
+
+
+class SessionRestoreWithUrlCold(test.Test):
+ """Measure Chrome cold session restore with startup URLs"""
jeremy 2013/12/17 11:29:44 nit: period at end of comment, also below.
aberent 2013/12/17 17:31:27 Done.
+ tag = 'cold'
+ test = session_restore_with_url.SessionRestoreWithUrl
+ page_set = 'page_sets/startup_pages.json'
+ options = {'cold': True,
+ 'pageset_repeat_iters': 5}
+
+class SessionRestoreWithUrlWarm(test.Test):
+ """Measure Chrome warm session restore with startup URLs"""
+ tag = 'warm'
+ test = session_restore_with_url.SessionRestoreWithUrl
+ page_set = 'page_sets/startup_pages.json'
+ options = {'warm': True,
+ 'pageset_repeat_iters': 10}
+
« no previous file with comments | « no previous file | tools/perf/benchmarks/start_with_url.py » ('j') | tools/perf/measurements/session_restore_with_url.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698