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

    Function heapRestoreChunkBudget

    • How many chunks one invocation may apply, or undefined for all of them in one go.

      Unset is the whole snapshot at once, which is what every recorded restore measurement was taken on (memcpy 14-18 ms for 22.4 MB). The budget exists because a 10 ms free-plan invocation cannot be assumed to hold an arbitrary image: at 2 MiB a chunk, HEAP_RESTORE_CHUNKS=2 is roughly 4 MB of memcpy per firing.

      Parameters

      Returns number | undefined