traceperf
    Preparing search index...

    Interface TrackCallOptions

    Options for track(fn, options)

    interface TrackCallOptions {
        args?: unknown[];
        captureArgs?: boolean;
        enableNestedTracking?: boolean;
        label?: string;
        parentExecutionId?: string | null;
        sampleRate?: number;
        silent?: boolean;
        thisContext?: unknown;
        threshold?: number;
        trackingMode?: TrackingModeName;
        trackMemory?: boolean;
    }

    Hierarchy (View Summary)

    Index
    args?: unknown[]

    Arguments passed to the tracked function

    captureArgs?: boolean

    Include a short rendering of the arguments in output and records

    enableNestedTracking?: boolean

    Attach tracked calls made inside this one as children (default true)

    label?: string

    Label shown in output and stats (default: the function name)

    parentExecutionId?: string | null

    Attach this call to a specific parent execution

    sampleRate?: number

    Fraction of calls to track (0.0 - 1.0)

    silent?: boolean

    Suppress console output for this call

    thisContext?: unknown

    this for the tracked function

    threshold?: number

    Only report this call if it takes at least this many milliseconds

    trackingMode?: TrackingModeName

    Tracking mode for this call

    trackMemory?: boolean

    Record the heap change for this call