Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...

    Type Alias DatasetInputs

    compressed sizes, in bytes, of one dataset and the two controls it is measured against

    type DatasetInputs = {
        holdDays?: number;
        nativeBytesPerView: number;
        patchBytes: number;
        seedBytes: number;
        survival?: number;
        updatesPerDay: number;
        v03: { refetchBytes: number; seedBytes: number };
    }
    Index
    holdDays?: number

    days a copy is held and kept current; see DATASET_DEFAULTS

    nativeBytesPerView: number

    native: the bytes a plain HTTP cache still sends for each view

    patchBytes: number

    one update's patch

    seedBytes: number

    the seed the device stores first

    survival?: number

    chance a stored copy survives the hold window; see DATASET_DEFAULTS

    updatesPerDay: number

    updates per day to the rows the dataset holds

    v03: { refetchBytes: number; seedBytes: number }

    v0.3: the seed of the held artifact and the bytes it refetches per update