traceperf
    Preparing search index...

    Interface ModuleTrackOptions

    Options for registerModule / trackObject

    interface ModuleTrackOptions {
        captureArgs?: boolean;
        enableNestedTracking?: boolean;
        label?: string;
        parentExecutionId?: string | null;
        prefix?: string;
        sampleRate?: number;
        silent?: boolean;
        threshold?: number;
        trackingMode?: TrackingModeName;
        trackMemory?: boolean;
    }

    Hierarchy (View Summary)

    Index
    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

    prefix?: string

    Prefix for each method label, e.g. "userService."

    sampleRate?: number

    Fraction of calls to track (0.0 - 1.0)

    silent?: boolean

    Suppress console output for this call

    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