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

Unified Diff: tools/perf/measurements/session_restore.py

Issue 637153002: telemetry: Remove command line args from page test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Suppress pylint E1003 Created 6 years, 1 month 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/measurements/session_restore.py
diff --git a/tools/perf/measurements/session_restore.py b/tools/perf/measurements/session_restore.py
index 67e72bf8c0ad6303aa10f72e0e5bfd0604deca00..26eef4da60f93f81a0f23c1b66698bf590792eb8 100644
--- a/tools/perf/measurements/session_restore.py
+++ b/tools/perf/measurements/session_restore.py
@@ -15,12 +15,13 @@ class SessionRestore(startup.Startup):
"""Performs a measurement of Chromium's Session restore performance.
This test is meant to be run against a generated profile.
- This test inherits support for the --warm or --cold command line options -
+ This test inherits support for the 'cold' option -
see startup.py for details.
"""
- def __init__(self, action_name_to_run = ''):
- super(SessionRestore, self).__init__(action_name_to_run=action_name_to_run)
+ def __init__(self, cold=False, action_name_to_run = ''):
+ super(SessionRestore, self).__init__(cold=cold,
+ action_name_to_run=action_name_to_run)
self.close_tabs_before_run = False
self._cpu_metric = None

Powered by Google App Engine
This is Rietveld 408576698