Skip to content
Sheetwrite

Sheetwrite / Documentation

createRuntimeResourceSnapshot@sheetwrite/core

Build and validate one operation-phase snapshot without double-counting runtime observations.

Build and validate one operation-phase snapshot without double-counting runtime observations.

Declaration

function createRuntimeResourceSnapshot(input: {
operation: RuntimeResourceOperation;
phase: RuntimeResourcePhase;
wasm: StoreMemoryBreakdown;
jsOwners?: readonly ResourceOwnerBytes[];
boundary?: readonly BoundaryOperationStats[];
runtime?: RuntimeMemoryObservation;
}): RuntimeResourceSnapshot