traceperf
    Preparing search index...

    Interface ProfileSlowCallsOptions

    interface ProfileSlowCallsOptions {
        exclude?: RegExp;
        mergeInlined?: boolean;
        onProfile: (call: ExecutionRecord, profile: SlowCallProfile) => void;
        samplingIntervalUs?: number;
        select?: (
            root: ExecutionRecord,
        ) => { call: ExecutionRecord; end: number; start: number }[];
        threshold?: number;
        top?: number;
        window?: number;
    }
    Index
    exclude?: RegExp

    Skip functions from these paths, e.g. /node_modules/ (default: none)

    mergeInlined?: boolean

    Attribute a function's own samples to the callee seen running under it the most, recovering code V8 inlined into its caller (default false)

    onProfile: (call: ExecutionRecord, profile: SlowCallProfile) => void

    Called once per slow call with its profile

    samplingIntervalUs?: number

    Sampling interval in microseconds (default 1000)

    select?: (
        root: ExecutionRecord,
    ) => { call: ExecutionRecord; end: number; start: number }[]

    Choose what to profile in each finished tree: calls and time ranges (performance.now ms). Default: the top-level call, when at least threshold ms. Use it to profile, say, only the synchronous part of calls that blocked the event loop.

    threshold?: number

    Profile top-level calls at least this slow (ms, default 100)

    top?: number

    Number of hotspots to report (default 5)

    window?: number

    Profiler window length in ms (default 2000)