Chrome DevTools

Tracing Domain

Methods

Methods

React NativeChrome DevTools

Tracing.end #

Stop trace events collection.

Tracing.end support is experimental.


React NativeChrome DevTools

Tracing.start #

Start trace events collection.

Tracing.start support is experimental.

Parameters

categories
Optional
string

Category/tag filter

ExperimentalDeprecated
options
Optional
string

Tracing options

ExperimentalDeprecated
bufferUsageReportingInterval
Optional
number

If set, the agent will issue bufferUsage events at this interval, specified in milliseconds

Experimental
transferMode
Optional
string

Whether to report trace events as series of dataCollected events or to save trace to a stream (defaults to ReportEvents).

Allowed values: ReportEvents, ReturnAsStream

streamFormat
Optional
StreamFormat

Trace data format to use. This only applies when using ReturnAsStream transfer mode (defaults to json).

streamCompression
Optional
StreamCompression

Compression format to use. This only applies when using ReturnAsStream transfer mode (defaults to none)

Experimental
traceConfig
Optional
perfettoConfig
Optional
string

Base64-encoded serialized perfetto.protos.TraceConfig protobuf message When specified, the parameters categories, options, traceConfig are ignored. (Encoded as a base64 string when passed over JSON)

Experimental
tracingBackend
Optional
TracingBackend

Backend type (defaults to auto)

Experimental