class ProfilerOperations
(source)
ProfilerOperations represents Profiler protocol domain request/response operations and events that can be captured.
Link
Protocol Profiler domain documentation.
fun consoleProfileFinished(): Flowable<ConsoleProfileFinishedEvent>
Returns observable capturing all Profiler.consoleProfileFinished events. |
|
fun consoleProfileStarted(): Flowable<ConsoleProfileStartedEvent>
Sent when new profile recording is started using console.profile() call. |
|
fun disable(): Single<ResponseFrame> |
|
fun disableRuntimeCallStats(): Single<ResponseFrame>
Disable run time call stats collection. |
|
fun enable(): Single<ResponseFrame> |
|
fun enableRuntimeCallStats(): Single<ResponseFrame>
Enable run time call stats collection. |
|
fun events(): Flowable<Event>
Returns flowable capturing all Profiler domains events. |
|
fun getBestEffortCoverage(): Single<GetBestEffortCoverageResponse>
Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection. |
|
fun getRuntimeCallStats(): Single<GetRuntimeCallStatsResponse>
Retrieve run time call stats. |
|
fun setSamplingInterval(input: SetSamplingIntervalRequest): Single<ResponseFrame>
Changes CPU profiler sampling interval. Must be called before CPU profiles recording started. |
|
fun start(): Single<ResponseFrame> |
|
fun startPreciseCoverage(input: StartPreciseCoverageRequest): Single<StartPreciseCoverageResponse>
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. |
|
fun startTypeProfile(): Single<ResponseFrame>
Enable type profile. |
|
fun stop(): Single<StopResponse> |
|
fun stopPreciseCoverage(): Single<ResponseFrame>
Disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code. |
|
fun stopTypeProfile(): Single<ResponseFrame>
Disable type profile. Disabling releases type profile data collected so far. |
|
fun takePreciseCoverage(): Single<TakePreciseCoverageResponse>
Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started. |
|
fun takeTypeProfile(): Single<TakeTypeProfileResponse>
Collect type profile. |