Skip to content
Sheetwrite

Sheetwrite / Documentation

RuntimeResourceSnapshot@sheetwrite/core

Complete retained-resource and boundary snapshot for one operation phase.

Complete retained-resource and boundary snapshot for one operation phase.

Members 8

schemaVersion
readonly schemaVersion: typeof RUNTIME_RESOURCE_SCHEMA_VERSION;
operation
readonly operation: RuntimeResourceOperation;
phase
readonly phase: RuntimeResourcePhase;
wasm
readonly wasm: StoreMemoryBreakdown;
jsOwners
readonly jsOwners: readonly ResourceOwnerBytes[];
boundary
readonly boundary: readonly BoundaryOperationStats[];
runtime
readonly runtime: RuntimeMemoryObservation;
totals
readonly totals: { readonly logicalLiveBytes: number; readonly allocatedCapacityBytes: number; };

Declaration

View full TypeScript declaration
export interface RuntimeResourceSnapshot {
readonly schemaVersion: typeof RUNTIME_RESOURCE_SCHEMA_VERSION;
readonly operation: RuntimeResourceOperation;
readonly phase: RuntimeResourcePhase;
readonly wasm: StoreMemoryBreakdown;
readonly jsOwners: readonly ResourceOwnerBytes[];
readonly boundary: readonly BoundaryOperationStats[];
readonly runtime: RuntimeMemoryObservation;
readonly totals: {
readonly logicalLiveBytes: number;
readonly allocatedCapacityBytes: number;
};
}