interface _StartSettings {
    bufferSize: number;
    features: ProfilerFeature[];
    interval: number;
    threads?: string[];
    windowLength?: number;
}
Index
bufferSize: number

The maximum size in bytes of the buffer used to store profiling data. A larger value allows capturing a profile that covers a greater amount of time.

features: ProfilerFeature[]

A list of active features for the profiler.

interval: number

Interval in milliseconds between samples of profiling data. A smaller value will increase the detail of the profiles captured.

threads?: string[]

A list of thread names for which to capture profiles.

windowLength?: number

The length of the window of time that's kept in the buffer. Any collected samples are discarded as soon as they are older than the number of seconds specified in this setting. Zero means no duration restriction.