IFClite TypeScript API
    Preparing search index...

    Interface LoadTraceSnapshot

    JSON-safe copy of one load's span tree (spans is flat; parentId links it).

    interface LoadTraceSnapshot {
        attrs: LoadTraceAttributes;
        counters?: Record<string, number>;
        end: number | null;
        loadId: string;
        mainThread?: FrameSummary;
        spans: TraceSpan[];
        start: number;
        timeOrigin: number;
        workerCounters?: Record<string, Record<string, number>>;
    }
    Index
    counters?: Record<string, number>

    Structural counters (#6957) moved while this load was the latest one: from its start until the next load starts (or the snapshot is taken), plus every counter its workers posted back. Absent when counters are off.

    end: number | null
    loadId: string
    mainThread?: FrameSummary

    Long-frame summary over the same window; absent without a frame monitor.

    spans: TraceSpan[]
    start: number
    timeOrigin: number

    Main-thread performance.timeOrigin, so absolute times can be recovered.

    workerCounters?: Record<string, Record<string, number>>

    The worker share of counters, per worker thread label.