Documentation
    Preparing search index...

    Interface AuditFrameAllocationsOptions

    Options for auditFrameAllocations.

    interface AuditFrameAllocationsOptions {
        label?: string;
        threshold?: number;
        warn?: boolean;
    }
    Index
    label?: string

    What the audited span was — quoted in the message and used as the deduplication key. Defaults to "this frame".

    threshold?: number

    How many constructionCount constructions are allowed before warning. Defaults to 0 — steady-state engine code should allocate none (§7b).

    warn?: boolean

    Set false to compute the report without printing. Defaults to true.