Class HeapProfiler
- java.lang.Object
-
- org.openqa.selenium.devtools.v107.heapprofiler.HeapProfiler
-
@Beta public class HeapProfiler extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HeapProfiler()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.openqa.selenium.devtools.Event<java.lang.String>
addHeapSnapshotChunk()
static org.openqa.selenium.devtools.Command<java.lang.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<java.lang.Void>
collectGarbage()
static org.openqa.selenium.devtools.Command<java.lang.Void>
disable()
static org.openqa.selenium.devtools.Command<java.lang.Void>
enable()
static org.openqa.selenium.devtools.Command<HeapSnapshotObjectId>
getHeapObjectId(RemoteObjectId objectId)
static org.openqa.selenium.devtools.Command<RemoteObject>
getObjectByHeapObjectId(HeapSnapshotObjectId objectId, java.util.Optional<java.lang.String> objectGroup)
static org.openqa.selenium.devtools.Command<SamplingHeapProfile>
getSamplingProfile()
static org.openqa.selenium.devtools.Event<java.util.List<java.lang.Integer>>
heapStatsUpdate()
static org.openqa.selenium.devtools.Event<LastSeenObjectId>
lastSeenObjectId()
static org.openqa.selenium.devtools.Event<ReportHeapSnapshotProgress>
reportHeapSnapshotProgress()
static org.openqa.selenium.devtools.Event<java.lang.Void>
resetProfiles()
static org.openqa.selenium.devtools.Command<java.lang.Void>
startSampling(java.util.Optional<java.lang.Number> samplingInterval)
static org.openqa.selenium.devtools.Command<java.lang.Void>
startTrackingHeapObjects(java.util.Optional<java.lang.Boolean> trackAllocations)
static org.openqa.selenium.devtools.Command<SamplingHeapProfile>
stopSampling()
static org.openqa.selenium.devtools.Command<java.lang.Void>
stopTrackingHeapObjects(java.util.Optional<java.lang.Boolean> reportProgress, java.util.Optional<java.lang.Boolean> treatGlobalObjectsAsRoots, java.util.Optional<java.lang.Boolean> captureNumericValue, java.util.Optional<java.lang.Boolean> exposeInternals)
static org.openqa.selenium.devtools.Command<java.lang.Void>
takeHeapSnapshot(java.util.Optional<java.lang.Boolean> reportProgress, java.util.Optional<java.lang.Boolean> treatGlobalObjectsAsRoots, java.util.Optional<java.lang.Boolean> captureNumericValue, java.util.Optional<java.lang.Boolean> exposeInternals)
-
-
-
Method Detail
-
addInspectedHeapObject
public static org.openqa.selenium.devtools.Command<java.lang.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
public static org.openqa.selenium.devtools.Command<java.lang.Void> collectGarbage()
-
disable
public static org.openqa.selenium.devtools.Command<java.lang.Void> disable()
-
enable
public static org.openqa.selenium.devtools.Command<java.lang.Void> 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, java.util.Optional<java.lang.String> objectGroup)
-
getSamplingProfile
public static org.openqa.selenium.devtools.Command<SamplingHeapProfile> getSamplingProfile()
-
startSampling
public static org.openqa.selenium.devtools.Command<java.lang.Void> startSampling(java.util.Optional<java.lang.Number> samplingInterval)
-
startTrackingHeapObjects
public static org.openqa.selenium.devtools.Command<java.lang.Void> startTrackingHeapObjects(java.util.Optional<java.lang.Boolean> trackAllocations)
-
stopSampling
public static org.openqa.selenium.devtools.Command<SamplingHeapProfile> stopSampling()
-
stopTrackingHeapObjects
public static org.openqa.selenium.devtools.Command<java.lang.Void> stopTrackingHeapObjects(java.util.Optional<java.lang.Boolean> reportProgress, java.util.Optional<java.lang.Boolean> treatGlobalObjectsAsRoots, java.util.Optional<java.lang.Boolean> captureNumericValue, java.util.Optional<java.lang.Boolean> exposeInternals)
-
takeHeapSnapshot
public static org.openqa.selenium.devtools.Command<java.lang.Void> takeHeapSnapshot(java.util.Optional<java.lang.Boolean> reportProgress, java.util.Optional<java.lang.Boolean> treatGlobalObjectsAsRoots, java.util.Optional<java.lang.Boolean> captureNumericValue, java.util.Optional<java.lang.Boolean> exposeInternals)
-
addHeapSnapshotChunk
public static org.openqa.selenium.devtools.Event<java.lang.String> addHeapSnapshotChunk()
-
heapStatsUpdate
public static org.openqa.selenium.devtools.Event<java.util.List<java.lang.Integer>> heapStatsUpdate()
-
lastSeenObjectId
public static org.openqa.selenium.devtools.Event<LastSeenObjectId> lastSeenObjectId()
-
reportHeapSnapshotProgress
public static org.openqa.selenium.devtools.Event<ReportHeapSnapshotProgress> reportHeapSnapshotProgress()
-
resetProfiles
public static org.openqa.selenium.devtools.Event<java.lang.Void> resetProfiles()
-
-