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

Unified Diff: tools/perf/profile_creators/large_profile_creator.py

Issue 914253005: Telemetry: Create new profile creator large_profile_creator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase against top of tree. Created 5 years, 10 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/profile_creators/large_profile_creator.py
diff --git a/tools/perf/profile_creators/large_profile_creator.py b/tools/perf/profile_creators/large_profile_creator.py
new file mode 100644
index 0000000000000000000000000000000000000000..394b54f9dea2a423dce430c7d41b59e0e7f5a233
--- /dev/null
+++ b/tools/perf/profile_creators/large_profile_creator.py
@@ -0,0 +1,17 @@
+# 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 profile_creators import cookie_profile_extender
+from profile_creators import history_profile_extender
+from telemetry.page import profile_creator
+
+class LargeProfileCreator(profile_creator.ProfileCreator):
+ """This class creates a large profile by performing a large number of url
+ navigations."""
+ def Run(self, options):
+ extender = history_profile_extender.HistoryProfileExtender()
+ extender.Run(options)
+
+ extender = cookie_profile_extender.CookieProfileExtender()
+ extender.Run(options)

Powered by Google App Engine
This is Rietveld 408576698