Class HeapProfiler
java.lang.Object
org.openqa.selenium.devtools.v85.heapprofiler.HeapProfiler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.openqa.selenium.devtools.Event<String>
static org.openqa.selenium.devtools.Command<Void>
addInspectedHeapObject
(HeapSnapshotObjectId heapObjectId) Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).static org.openqa.selenium.devtools.Command<Void>
static org.openqa.selenium.devtools.Command<Void>
disable()
static org.openqa.selenium.devtools.Command<Void>
enable()
static org.openqa.selenium.devtools.Command<HeapSnapshotObjectId>
getHeapObjectId
(RemoteObjectId objectId) static org.openqa.selenium.devtools.Command<RemoteObject>
getObjectByHeapObjectId
(HeapSnapshotObjectId objectId, Optional<String> objectGroup) static org.openqa.selenium.devtools.Command<SamplingHeapProfile>
static org.openqa.selenium.devtools.Event<LastSeenObjectId>
static org.openqa.selenium.devtools.Event<ReportHeapSnapshotProgress>
static org.openqa.selenium.devtools.Event<Void>
static org.openqa.selenium.devtools.Command<Void>
startSampling
(Optional<Number> samplingInterval) static org.openqa.selenium.devtools.Command<Void>
startTrackingHeapObjects
(Optional<Boolean> trackAllocations) static org.openqa.selenium.devtools.Command<SamplingHeapProfile>
static org.openqa.selenium.devtools.Command<Void>
stopTrackingHeapObjects
(Optional<Boolean> reportProgress, Optional<Boolean> treatGlobalObjectsAsRoots) static org.openqa.selenium.devtools.Command<Void>
takeHeapSnapshot
(Optional<Boolean> reportProgress, Optional<Boolean> treatGlobalObjectsAsRoots)
-
Constructor Details
-
HeapProfiler
public HeapProfiler()
-
-
Method Details
-
addInspectedHeapObject
public static org.openqa.selenium.devtools.Command<Void> addInspectedHeapObject(HeapSnapshotObjectId heapObjectId) Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions). -
collectGarbage
-
disable
-
enable
-
getHeapObjectId
public static org.openqa.selenium.devtools.Command<HeapSnapshotObjectId> getHeapObjectId(RemoteObjectId objectId) -
getObjectByHeapObjectId
public static org.openqa.selenium.devtools.Command<RemoteObject> getObjectByHeapObjectId(HeapSnapshotObjectId objectId, Optional<String> objectGroup) -
getSamplingProfile
-
startSampling
-
startTrackingHeapObjects
-
stopSampling
-
stopTrackingHeapObjects
-
takeHeapSnapshot
-
addHeapSnapshotChunk
-
heapStatsUpdate
-
lastSeenObjectId
-
reportHeapSnapshotProgress
public static org.openqa.selenium.devtools.Event<ReportHeapSnapshotProgress> reportHeapSnapshotProgress() -
resetProfiles
-