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

Unified Diff: tools/telemetry/telemetry/core/web_contents.py

Issue 22923013: Add JS heap snapshotting infrastructure to Telemetry (part 1) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 4 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
« no previous file with comments | « tools/telemetry/telemetry/core/jsheap/model.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/web_contents.py
diff --git a/tools/telemetry/telemetry/core/web_contents.py b/tools/telemetry/telemetry/core/web_contents.py
index 837c084f46a50982c92e02f6382bc01a6c571859..749f4ac2533cff95dfeaefca1642fcea06a2ecdb 100644
--- a/tools/telemetry/telemetry/core/web_contents.py
+++ b/tools/telemetry/telemetry/core/web_contents.py
@@ -71,3 +71,6 @@ class WebContents(object):
def StopTimelineRecording(self):
self._inspector_backend.StopTimelineRecording()
+
+ def TakeJSHeapSnapshot(self, timeout=120):
+ return self._inspector_backend.TakeJSHeapSnapshot(timeout)
« no previous file with comments | « tools/telemetry/telemetry/core/jsheap/model.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698