footprintjs - v11.2.0
    Preparing search index...

    Interface TimeBudgetReport

    What timeBudget(chart) reports. JSON-safe and frozen.

    interface TimeBudgetReport {
        budgetMs?: number;
        criticalPath: readonly BudgetStep[];
        knownMs: number;
        over: boolean;
        unbounded: readonly UnboundedStage[];
        worstCaseMs: number | null;
    }
    Index
    budgetMs?: number

    The budget checked against — absent when there is none.

    criticalPath: readonly BudgetStep[]

    The stages of the slowest path, in the order a run first reaches them — the path that makes worstCaseMs, or knownMs when a path is unbounded. knownMs = Σ passes × (attempts × (timeoutMs ?? 0) + backoffMs).

    knownMs: number

    The worst case of what IS bounded: an unbounded stage counts 0, an unassumed loop one pass.

    over: boolean

    knownMs > budgetMs: the declared policies allow longer than the budget. Always false without one.

    unbounded: readonly UnboundedStage[]

    Every stage that keeps a path unbounded, each named once, in chart order.

    worstCaseMs: number | null

    The worst case of the slowest path — null when any path is unbounded (see unbounded).