drupflare/worker - v1.0.4
    Preparing search index...

    Variable DEFAULT_CHUNK_BYTESConst

    DEFAULT_CHUNK_BYTES: 200000 = 200_000

    Default bytes per stored chunk, sized by the 10 ms CPU cap rather than the record cap.

    Deployed sweep with HEAP_RESTORE_CHUNKS=1:

    chunk bytes rows per-firing edge cpuTime over the 10 ms cap
    2,000,000 5 median 29, max 52 ms 3 of 4
    400,000 21 median 8, max 13 ms 4 of 21
    200,000 41 median 2, max 10 ms 0 of 41

    One restore step fits one free-plan invocation only near this size. Per-firing CPU tracks chunk size; the digest is about 0.1 ms per 200,000 bytes (scripts/measure/heap-digest-cost.ts).