banira
    Preparing search index...

    Interface ComponentCost

    Measured cost of one custom element.

    interface ComponentCost {
        error?: string;
        file: string;
        gzip: number;
        raw: number;
        renderMs?: number;
        tagName: string;
    }
    Index
    error?: string

    Why the render timing failed (the size is still reported).

    file: string

    Source module the element is defined in.

    gzip: number

    Gzipped size of the same output — a proxy for transfer cost.

    raw: number

    Bytes of emitted JavaScript for the module and its local import graph (lowered CSS/HTML included).

    renderMs?: number

    Median ms to construct and connect a fresh instance (its first render) in JSDOM. Rough: synchronous work only, and JSDOM is not a real browser. Absent when render timing is disabled or the element failed to mount.

    tagName: string