Class Profiler
java.lang.Object
org.openqa.selenium.devtools.v85.profiler.Profiler
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.openqa.selenium.devtools.Event<ConsoleProfileFinished>
static org.openqa.selenium.devtools.Event<ConsoleProfileStarted>
static org.openqa.selenium.devtools.Command<Void>
disable()
static org.openqa.selenium.devtools.Command<Void>
Disable run time call stats collection.static org.openqa.selenium.devtools.Command<Void>
enable()
static org.openqa.selenium.devtools.Command<Void>
Enable run time call stats collection.static org.openqa.selenium.devtools.Command<List<ScriptCoverage>>
Collect coverage data for the current isolate.static org.openqa.selenium.devtools.Command<List<CounterInfo>>
Retrieve run time call stats.static org.openqa.selenium.devtools.Event<PreciseCoverageDeltaUpdate>
static org.openqa.selenium.devtools.Command<Void>
setSamplingInterval
(Integer interval) Changes CPU profiler sampling interval.static org.openqa.selenium.devtools.Command<Void>
start()
static org.openqa.selenium.devtools.Command<Number>
startPreciseCoverage
(Optional<Boolean> callCount, Optional<Boolean> detailed, Optional<Boolean> allowTriggeredUpdates) Enable precise code coverage.static org.openqa.selenium.devtools.Command<Void>
Enable type profile.static org.openqa.selenium.devtools.Command<Profile>
stop()
static org.openqa.selenium.devtools.Command<Void>
Disable precise code coverage.static org.openqa.selenium.devtools.Command<Void>
Disable type profile.static org.openqa.selenium.devtools.Command<Profiler.TakePreciseCoverageResponse>
Collect coverage data for the current isolate, and resets execution counters.static org.openqa.selenium.devtools.Command<List<ScriptTypeProfile>>
Collect type profile.
-
Constructor Details
-
Profiler
public Profiler()
-
-
Method Details
-
disable
-
enable
-
getBestEffortCoverage
Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection. -
setSamplingInterval
Changes CPU profiler sampling interval. Must be called before CPU profiles recording started. -
start
-
startPreciseCoverage
public static org.openqa.selenium.devtools.Command<Number> startPreciseCoverage(Optional<Boolean> callCount, Optional<Boolean> detailed, Optional<Boolean> allowTriggeredUpdates) Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code coverage may be incomplete. Enabling prevents running optimized code and resets execution counters. -
startTypeProfile
Enable type profile. -
stop
-
stopPreciseCoverage
Disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code. -
stopTypeProfile
Disable type profile. Disabling releases type profile data collected so far. -
takePreciseCoverage
public static org.openqa.selenium.devtools.Command<Profiler.TakePreciseCoverageResponse> takePreciseCoverage()Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started. -
takeTypeProfile
Collect type profile. -
enableRuntimeCallStats
Enable run time call stats collection. -
disableRuntimeCallStats
Disable run time call stats collection. -
getRuntimeCallStats
Retrieve run time call stats. -
consoleProfileFinished
-
consoleProfileStarted
-
preciseCoverageDeltaUpdate
public static org.openqa.selenium.devtools.Event<PreciseCoverageDeltaUpdate> preciseCoverageDeltaUpdate()
-