IFClite TypeScript API
    Preparing search index...

    Interface TraceSpan

    One span on the load timeline. Times are milliseconds on the MAIN thread's performance.now() clock; worker spans are shifted onto it at merge time.

    interface TraceSpan {
        attrs?: Record<string, TraceAttrValue>;
        end: number | null;
        id: number;
        milestone?: true;
        name: string;
        parentId: number | null;
        start: number;
        thread: string;
    }
    Index
    attrs?: Record<string, TraceAttrValue>
    end: number | null

    null while the span is still open.

    id: number
    milestone?: true

    Milestones start at the load root, so their duration is time-to-milestone.

    name: string
    parentId: number | null

    Parent span id; null means the load root.

    start: number
    thread: string

    main, or the worker label given to enableWorkerTrace (e.g. geom-0).